onPanEnd method

  1. @protected
void onPanEnd()

Implementation

@protected
void onPanEnd() {
  cancelPanning();

  // When panning stops, allow tick provider to update ticks, and then
  // request redraw.
  _domainAxisTickProvider.mode = PanningTickProviderMode.passThrough;

  final _chart = this._chart!;
  _chart.getMeasureAxis().lockAxis = false;
  _chart.getMeasureAxis(axisId: Axis.secondaryMeasureAxisId).lockAxis = false;
  _chart.redraw();

  _panningCompletedCallback?.call();
}