DomainHighlighter<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.

Implemented types

Constructors

DomainHighlighter([SelectionModelType selectionModelType = SelectionModelType.info])

Properties

hashCode int
The hash code for this object.
no setterinherited
role String
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectionModelType SelectionModelType
final

Methods

attachTo(BaseChart<D> chart) → void
Injects the behavior into a chart.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeFrom(BaseChart<D> chart) → void
Removes the behavior from a chart.
override
toString() String
A string representation of this object.
inherited

Operators

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