DataLabelRenderArgs class

Holds the onDataLabelRender event arguments.

DataLabelRenderArgs is the type of Argument to the onDataLabelRender event, whenever the datalabel gets rendered, onDataLabelRender event is triggered it provides options to customize the data label text, data label text style, series, data point, and current point index value.

It has the public properties of data label text, series, data points and Point index.

Constructors

DataLabelRenderArgs([dynamic seriesRenderer, dynamic dataPoints, num pointIndex])
Creating an argument constructor of DataLabelRenderArgs class.

Properties

color Color
Color of datalabels
read / write
dataPoints → dynamic
Data points of the series.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
pointIndex num
Current point index .
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seriesRenderer → dynamic
Current series.
final
text String
Text value of the data label.
read / write
textStyle TextStyle
Style property of the data label 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