calculateInterval method
Finds the interval of an axis.
Implementation
@override
num calculateInterval(VisibleRange range, Size availableSize) => math
.max(
1,
(_axisDetails.actualRange!.delta /
_axisDetails.calculateDesiredIntervalCount(
Size(_axisDetails.rect.width, _axisDetails.rect.height),
this))
.floor())
.toInt();