LegendRenderArgs class

Holds the onLegendItemRender event arguments.

Triggers when the legend item is rendering.It can be customize the text, legendIconType, seriesIndex, pointIndex and color.

Note: pointIndex and color only applicable for SfCircularChart.

Constructors

LegendRenderArgs([int seriesIndex, int pointIndex])
Creating an argument constructor of LegendRenderArgs class.

Properties

color Color
Color of legend
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
legendIconType LegendIconType
Specifies the shape of legend.
read / write
pointIndex int
Current point index.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seriesIndex int
Current series index.
final
text String
Legend text.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited