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