tickIncrement function

double tickIncrement(
  1. num start,
  2. num stop,
  3. num count
)

Returns the tick increment for start, stop, and count (negative when the step is < 1, representing -1 / step).

Implementation

double tickIncrement(num start, num stop, num count) {
  final s0 = start.toDouble();
  final s1 = stop.toDouble();
  final c = count.toDouble();
  if (s1 < s0) return double.nan;
  return _tickSpec(s0, s1, c).$3;
}