createTickProvider method
BucketingNumericTickProvider
createTickProvider(
- ChartContext context
)
override
Implementation
@override
BucketingNumericTickProvider createTickProvider(ChartContext context) {
final provider = BucketingNumericTickProvider()
..zeroBound = zeroBound!
..dataIsInWholeNumbers = dataIsInWholeNumbers!;
if (desiredMinTickCount != null ||
desiredMaxTickCount != null ||
desiredTickCount != null) {
provider.setTickCount(desiredMaxTickCount ?? desiredTickCount ?? 10,
desiredMinTickCount ?? desiredTickCount ?? 2);
}
return provider;
}