InitialHintBehavior<D> class
abstract
Adds initial hint behavior for CartesianChart.
This behavior animates to the final viewport from an initial translate and or scale factor.
- Implemented types
Constructors
Properties
-
chart
→ CartesianChart<
D> ? -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hintAnimationPercent → double
-
Animation hint percent, to be returned by the native platform.
no setter
- hintDuration ↔ Duration
-
The amount of time to animate to the desired viewport.
getter/setter pair
- maxHintScaleFactor ↔ double?
-
The amount the domain axis will be scaled for the start of the hint.
getter/setter pair
- maxHintTranslate ↔ double
-
The maximum amount ordinal values to shift the viewport for the the hint
animation.
getter/setter pair
- role → String
-
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
-
onHintTick(
) → void - Shift domain viewport on hint animation ticks.
-
onTapTest(
Point< double> localPosition) → bool -
removeFrom(
BaseChart< D> chart) → void -
Removes the behavior from a chart.
override
-
startHintAnimation(
) → void - Setup and start the hint animation.
-
stopHintAnimation(
) → void - Stop hint animation
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited