BasicNumericTickProviderSpec constructor
Creates a TickProviderSpec that dynamically chooses the number of ticks based on the extents of the data.
zeroBound automatically include zero in the data range.
dataIsInWholeNumbers skip over ticks that would produce
fractional ticks that don't make sense for the domain (ie: headcount).
desiredTickCount the fixed number of ticks to try to make. Convenience
that sets desiredMinTickCount and desiredMaxTickCount the same.
Both min and max win out if they are set along with
desiredTickCount.
desiredMinTickCount automatically choose the best tick
count to produce the 'nicest' ticks but make sure we have this many.
desiredMaxTickCount automatically choose the best tick
count to produce the 'nicest' ticks but make sure we don't have more
than this many.
Implementation
const BasicNumericTickProviderSpec({
this.zeroBound,
this.dataIsInWholeNumbers,
this.desiredTickCount,
this.desiredMinTickCount,
this.desiredMaxTickCount,
});