OrdinalAxisSpec constructor
const
OrdinalAxisSpec({
- RenderSpec<
String> ? renderSpec, - OrdinalTickProviderSpec? tickProviderSpec,
- OrdinalTickFormatterSpec? tickFormatterSpec,
- bool? showAxisLine,
- OrdinalScaleSpec? scaleSpec,
- OrdinalViewport? viewport,
Creates a AxisSpec that specialized for ordinal domain charts.
renderSpec
spec used to configure how the ticks and labels
actually render. Possible values are GridlineRendererSpec,
SmallTickRendererSpec & NoneRenderSpec. Make sure that the
Implementation
const OrdinalAxisSpec({
super.renderSpec,
OrdinalTickProviderSpec? super.tickProviderSpec,
OrdinalTickFormatterSpec? super.tickFormatterSpec,
super.showAxisLine,
OrdinalScaleSpec? super.scaleSpec,
this.viewport,
});