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({
  RenderSpec<num>? renderSpec,
  NumericTickProviderSpec? tickProviderSpec,
  NumericTickFormatterSpec? tickFormatterSpec,
  bool? showAxisLine,
  ScaleSpec<num>? scaleSpec,
  this.viewport,
}) : super(
          renderSpec: renderSpec,
          tickProviderSpec: tickProviderSpec,
          tickFormatterSpec: tickFormatterSpec,
          showAxisLine: showAxisLine,
          scaleSpec: scaleSpec);