LinePointHighlighter<D> class

Chart behavior that monitors the specified SelectionModel and darkens the color for selected data.

This is typically used for bars and pies to highlight segments.

It is used in combination with SelectNearest to update the selection model and expand selection out to the domain value.

Inheritance
Annotations

Constructors

LinePointHighlighter({SelectionModelType? selectionModelType, double? defaultRadiusPx, double? radiusPaddingPx, LinePointHighlighterFollowLineType? showHorizontalFollowLine, LinePointHighlighterFollowLineType? showVerticalFollowLine, List<int>? dashPattern, bool? drawFollowLinesAcrossChart, SymbolRenderer? symbolRenderer})

Properties

dashPattern → List<int>?
The dash pattern to be used for drawing the line.
final
defaultRadiusPx → double?
Default radius of the dots if the series has no radius mapping function.
final
desiredGestures → Set<GestureType>
final
drawFollowLinesAcrossChart → bool?
Whether or not follow lines should be drawn across the entire chart draw area, or just from the axis to the point.
final
hashCode → int
The hash code for this object.
no setteroverride
radiusPaddingPx → double?
Additional radius value added to the radius of the selected data.
final
role → String
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
selectionModelType → SelectionModelType?
final
showHorizontalFollowLine → LinePointHighlighterFollowLineType?
final
showVerticalFollowLine → LinePointHighlighterFollowLineType?
final
symbolRenderer → SymbolRenderer?
Renderer used to draw the highlighted points.
final

Methods

createCommonBehavior() → LinePointHighlighter<D>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
updateCommonBehavior(ChartBehavior<D> commonBehavior) → void
override

Operators

operator ==(Object o) → bool
The equality operator.
override