calculateInterval method
Finds the interval of an axis.
Implementation
@override
num calculateInterval(VisibleRange range, Size availableSize) {
final ChartAxisRendererDetails axisDetails =
AxisHelper.getAxisRendererDetails(this);
return axisDetails.calculateNumericNiceInterval(
this, range.maximum - range.minimum, axisDetails.axisSize);
}