SlidingViewport<D> class
Chart behavior that centers the viewport on the selected domain.
It is used in combination with SelectNearest to update the selection model and notify this behavior to update the viewport on selection change.
This behavior can only be used on CartesianChart.
- Implemented types
Constructors
- SlidingViewport([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