onSkipLayout method

  1. @override
void onSkipLayout()

Implementation

@override
void onSkipLayout() {
  // Update ticks only when skipping layout.
  domainAxis!.updateTicks();

  if (_usePrimaryMeasureAxis) {
    _primaryMeasureAxis.updateTicks();
  }

  if (_useSecondaryMeasureAxis) {
    _secondaryMeasureAxis.updateTicks();
  }

  _disjointMeasureAxes.forEach((String axisId, NumericAxis axis) {
    axis.updateTicks();
  });

  super.onSkipLayout();
}