NumericAxisSpec constructor

const NumericAxisSpec({
  1. RenderSpec<num>? renderSpec,
  2. NumericTickProviderSpec? tickProviderSpec,
  3. NumericTickFormatterSpec? tickFormatterSpec,
  4. bool? showAxisLine,
  5. ScaleSpec<num>? scaleSpec,
  6. NumericExtents? viewport,
})

Creates a AxisSpec that specialized for numeric data.

renderSpec spec used to configure how the ticks and labels actually render. Possible values are GridlineRendererSpec, SmallTickRendererSpec & NoneRenderSpec. Make sure that the

Implementation

const NumericAxisSpec({
  super.renderSpec,
  NumericTickProviderSpec? super.tickProviderSpec,
  NumericTickFormatterSpec? super.tickFormatterSpec,
  super.showAxisLine,
  super.scaleSpec,
  this.viewport,
});