Highlight class

Constructors

Highlight({double? x = double.nan, double? y = double.nan, double? xPx = 0, double? yPx = 0, int? dataSetIndex = 0, int stackIndex = -1, AxisDependency? axis = null})

Properties

axis AxisDependency?
no setter
dataIndex int
getter/setter pair
dataSetIndex int?
no setter
drawX double?
no setter
drawY double?
no setter
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stackIndex int
no setter
x double?
no setter
xPx double?
no setter
y double?
no setter
yPx double?
no setter

Methods

equalTo(Highlight? h) bool
Returns true if this highlight object is equal to the other (compares xIndex and dataSetIndex)
isStacked() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDraw(double? x, double? y) → void
Sets the x- and y-position (pixels) where this highlight was last drawn.
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited