startHintAnimation method

  1. @protected
void startHintAnimation()

Setup and start the hint animation.

Animation controller to be handled by the native platform.

Implementation

@protected
void startHintAnimation() {
  // When panning starts, measure tick provider should not update ticks.
  // This is still needed because axis internally updates the tick location
  // after the tick provider generates the ticks. If we do not tell the axis
  // not to update the location of the measure axes, the measure axis will
  // change during the hint animation and make values jump back and forth.
  _chart!.getMeasureAxis().lockAxis = true;
  _chart!.getMeasureAxis(axisId: Axis.secondaryMeasureAxisId).lockAxis = true;
}