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 viewportPointIndex, String text, DataLabelSettings dataLabelSettings, int pointIndex)
- Creating an argument constructor of DataLabelTapDetails class.
Properties
- dataLabelSettings → DataLabelSettings
-
Get the data label customization options specified in that particular series.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pointIndex → int
-
Get the overall index value of the tapped data label.
final
- position ↔ Offset
-
Get the position of the tapped data label in logical pixels.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- seriesIndex → int
-
Get the series index of the tapped data label.
final
- text → String
-
Get the text of the tapped data label.
final
- viewportPointIndex → int
-
Get the view port index value of the tapped data 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