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({
RenderSpec<String>? renderSpec,
OrdinalTickProviderSpec? tickProviderSpec,
OrdinalTickFormatterSpec? tickFormatterSpec,
bool? showAxisLine,
OrdinalScaleSpec? scaleSpec,
this.viewport,
}) : super(
renderSpec: renderSpec,
tickProviderSpec: tickProviderSpec,
tickFormatterSpec: tickFormatterSpec,
showAxisLine: showAxisLine,
scaleSpec: scaleSpec,
);