AxisLabelTapArgs class

Holds the onAxisLabelTapped event arguments.

This is the argument type of the onAxisLabelTapped event. Whenever the axis label is tapped, the onAxisLabelTapped event is triggered and provides options to get the axis type, label text, and axis name.

Constructors

AxisLabelTapArgs([ChartAxis? axis, String? axisName])
Creating an argument constructor of AxisLabelTapArgs class.

Properties

axis ChartAxis?
Get the type of chart axis and its properties.
final
axisName String?
Get the axis name.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
Get the text of the axis label at the tapped position.
getter/setter pair
value num
Get the value holds the properties of the visible label.
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