AxisLabelRenderArgs class

Holds the onAxisLabelRender event arguments.

AxisLabelRenderArgs is the type argument for onAxisLabelRender event. whenever the Axis gets rednered,onAxisLabelRender event is triggered and provides options to set the axis label text, axis name, label text style, orientation, and axis type.

It has the public properties of axis label text, axis name, axis type, label text style, and orientation.

Constructors

AxisLabelRenderArgs([num value, String axisName, AxisOrientation orientation, ChartAxis axis])
Creating an argument constructor of AxisLabelRenderArgs class.

Properties

axis ChartAxis
Chart axis type and its property.
final
axisName String
Specifies the axis name.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
orientation AxisOrientation
Specifies the axis orientation.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
Text value of the axis label.
read / write
textStyle TextStyle
Text style of the axis label.
read / write
value num
Value of the axis label.
final

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