ChartHighlightLineShape<T extends ChartDataItem> class

Provides highlight line shape.

Inheritance

Constructors

ChartHighlightLineShape({required Color backgroundColor, required Offset currentPos(T), required double width, BorderRadius radius = BorderRadius.zero})
const

Properties

backgroundColor Color
The background color of shape.
final
currentPos Offset Function(T)
The function return current position of shape.
final
hashCode int
The hash code for this object.
no setterinherited
radius BorderRadius
The radius of shape.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width double
The width of shape.
final

Methods

draw(Canvas canvas, ChartPainterData painterData, ChartTouchCallbackData touchedData, double tolerance) → void
Draw highlight line shape.
override
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