OrdinalAxis constructor

OrdinalAxis({
  1. TickDrawStrategy<String>? tickDrawStrategy,
  2. TickProvider<String>? tickProvider,
  3. TickFormatter<String>? tickFormatter,
})

Implementation

OrdinalAxis({
  TickDrawStrategy<String>? tickDrawStrategy,
  TickProvider<String>? tickProvider,
  TickFormatter<String>? tickFormatter,
}) : super(
        tickProvider: tickProvider ?? const OrdinalTickProvider(),
        tickFormatter: tickFormatter ?? const OrdinalTickFormatter(),
        scale: SimpleOrdinalScale(),
      ) {
  this.tickDrawStrategy = tickDrawStrategy;
}