AxisLabelRenderArgs class Null safety

Holds the onAxisLabelRender event arguments.

AxisLabelRenderArgs is the type argument for onAxisLabelRender event. Whenever the axis gets rendered, the onAxisLabelRender event is triggered and provides options to set the axis label text and label text style.

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?
Get the chart axis type and its properties.
final
axisName String?
Get the axis name.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
orientation AxisOrientation?
Get the orientation for an axis.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
Get and set the text value of the axis label.
read / write
textStyle TextStyle
Get and set the text style of an axis label.
read / write
value num?
Get the value of the axis label.
final

Methods

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

Operators

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