GraphInteractionsSpec class
What each gesture does: a table of flags, never a callback.
Constructors
- GraphInteractionsSpec({bool dragPan = true, bool wheelZoom = true, bool pinchZoom = true, bool axisScale = true, bool doubleTapReset = true, bool fling = true})
-
const
- GraphInteractionsSpec.fromJson(Json j)
-
factory
Properties
- axisScale → bool
-
A drag on the price axis scales y (autoscale goes off); on the time
axis, x.
final
- doubleTapReset → bool
-
A double tap on an axis fits it again.
final
- dragPan → bool
-
A drag on the plot pans the x viewport (and y, once y is manual).
final
- fling → bool
-
A flick keeps panning and slows down.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- pinchZoom → bool
-
Two fingers zoom x about their middle.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wheelZoom → bool
-
The wheel zooms x about the pointer.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited