OrdinalAxisSpec constructor

const OrdinalAxisSpec({
  1. RenderSpec<String>? renderSpec,
  2. OrdinalTickProviderSpec? tickProviderSpec,
  3. OrdinalTickFormatterSpec? tickFormatterSpec,
  4. bool? showAxisLine,
  5. OrdinalScaleSpec? scaleSpec,
  6. 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,
});