DataLabelTapDetails class

Holds the onDataLabelTapped callback arguments.

Whenever the data label is tapped, onDataLabelTapped callback will be called. Provides options to get the position of the data label, series index, point index and its text.

Constructors

DataLabelTapDetails(int seriesIndex, int pointIndex, String text, DataLabelSettings dataLabelSettings, int overallPointIndex)
Creating an argument constructor of DataLabelTapDetails class.

Properties

dataLabelSettings DataLabelSettings
Data label customization options specified in that particular series.
final
hashCode int
The hash code for this object. [...]
read-only, inherited
overallPointIndex int
Get the overall point index.
final
pointIndex int
Point index of the tapped data label.
final
position Offset
Position of the tapped data label in logical pixels.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seriesIndex int
Series index of the tapped data label.
final
text String
Text of the tapped data 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