OrdinalAxis constructor
OrdinalAxis({
- TickDrawStrategy<
String> ? tickDrawStrategy, - TickProvider<
String> ? tickProvider, - 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;
}