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 common.CartesianChart.

Inheritance
Annotations

Constructors

SlidingViewport([SelectionModelType selectionModelType = common.SelectionModelType.info])

Properties

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

Methods

createCommonBehavior() → SlidingViewport<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 other) bool
The equality operator.
override