AxisLabelRenderArgs class

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.
no setterinherited
orientation AxisOrientation?
Get the orientation for an axis.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Get and set the text value of the axis label.
getter/setter pair
textStyle TextStyle
Get and set the text style of an axis label.
getter/setter pair
value num?
Get the value of the axis label.
final

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