calculateInterval method

  1. @override
num calculateInterval(
  1. _VisibleRange range,
  2. Size availableSize
)
override

Finds the interval of an axis.

Implementation

@override
num calculateInterval(_VisibleRange range, Size availableSize) =>
    _calculateNumericNiceInterval(
        this, range.maximum - range.minimum, _axisSize);