Dart Documentationorson_chartsStandardLegendItemInfo

StandardLegendItemInfo class

A default implementation of the LegendItemInfo interface. This class contains the basic info for one series in a legend.

Implements

LegendItemInfo

Constructors

new StandardLegendItemInfo(Comparable seriesKey, String label, Color color) #

Creates a new instance.

Properties

final Color color #

Returns the color for the series.

final String description #

Returns the series description.

final String label #

Returns the series label (generated by the plot).

final Comparable seriesKey #

Returns the series key.

final Rectangle shape #

Returns the shape for the series.