createTickProvider method

  1. @override
AutoAdjustingDateTimeTickProvider createTickProvider(
  1. ChartContext context
)

Implementation

@override
AutoAdjustingDateTimeTickProvider createTickProvider(ChartContext context) {
  if (includeTime) {
    return AutoAdjustingDateTimeTickProvider.createDefault(
        context.dateTimeFactory);
  } else {
    return AutoAdjustingDateTimeTickProvider.createWithoutTime(
        context.dateTimeFactory);
  }
}