DateTimeTickFormatter.uniform constructor

DateTimeTickFormatter.uniform(
  1. TimeTickFormatter formatter
)

Creates a DateTimeTickFormatter that formats all ticks the same.

Only use this formatter for data with fixed intervals, otherwise use the default, or build from scratch.

formatter The format for all ticks.

Implementation

factory DateTimeTickFormatter.uniform(TimeTickFormatter formatter) {
  return DateTimeTickFormatter._internal({ANY: formatter});
}