TooltipArgs class

Holds the arguments for the event onTooltipRender.

Event is triggered when the tooltip is rendered, which allows you to customize tooltip arguments.

Constructors

TooltipArgs([dynamic seriesIndex, List dataPoints, num pointIndex])
Creating an argument constructor of TooltipArgs class.

Properties

dataPoints List
List of datapoints in the series
final
hashCode int
The hash code for this object. [...]
read-only, inherited
Header text of tooltip
read / write
locationX double
x location
read / write
locationY double
y location
read / write
pointIndex num
Index of the current point
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
seriesIndex → dynamic
Index of current series
final
text String
Tooltip text
read / write

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