Interface ILegendNodePropertiesOwner

All Known Implementing Classes:
AbstractLineVisualSet, AbstractPolylineVisualSet, GanttPolylineVisualSet, LineBarVisualSet, LineVisualSet, PointsVisualSet, PolylineVisualSet

public interface ILegendNodePropertiesOwner
Interface of legend node properties owners. Provides a set of methods corresponding to it. Used for visual sets which have a representation in the chart Legend.
Author:
Aleksey Kirillov
  • Method Details

    • getLegendColor

      Color getLegendColor()
      Returns the color of the Legend's icon corresponding to this VisualSet
      Returns:
      the color of the Legend's icon corresponding to this VisualSet
    • setLegendText

      ILegendNodePropertiesOwner setLegendText(Supplier<String> legendTextProvider)
      Sets the Legend label text represents this visual set.
      Parameters:
      legendTextProvider - the Legend label text represents this visual set
      Returns:
      reference to this object
    • getLegendText

      String getLegendText()
      Returns the Legend label text represents this visual set.
      Returns:
      the Legend label text represents this visual set