LegendRenderArgs class
Holds the onLegendItemRender event arguments.
The onLegendItemRender event triggers when the legend item is rendering and can customize the text, legendIconType, and color.
Note: pointIndex and color is applicable for SfCircularChart, SfPyramidChart and SfFunnelChart.
Constructors
- LegendRenderArgs([int? seriesIndex, int? pointIndex])
- Creating an argument constructor of LegendRenderArgs class.
Properties
- color ↔ Color?
- 
  Get and set the color of the legend icon.
  getter/setter pair
- hashCode → int
- 
  The hash code for this object.
  no setterinherited
- legendIconType ↔ LegendIconType?
- 
  Get and set the shape of a legend.
  getter/setter pair
- pointIndex → int?
- 
  Get the current point index.
  final
- runtimeType → Type
- 
  A representation of the runtime type of the object.
  no setterinherited
- seriesIndex → int?
- 
  Get the current series index.
  final
- text ↔ String?
- 
  Get and set the legend text.
  getter/setter pair
Methods
- 
  noSuchMethod(Invocation invocation) → dynamic 
- 
  Invoked when a nonexistent method or property is accessed.
  inherited
- 
  toString() → String 
- 
  A string representation of this object.
  inherited
Operators
- 
  operator ==(Object other) → bool 
- 
  The equality operator.
  inherited