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
read-only
dataIndex int
read / write
dataSetIndex int
read-only
drawX double
read-only
drawY double
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stackIndex int
read-only
x double
read-only
xPx double
read-only
y double
read-only
yPx double
read-only

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 non-existent 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