NumericAxisSpec constructor
const
NumericAxisSpec({
- RenderSpec<
num> ? renderSpec, - NumericTickProviderSpec? tickProviderSpec,
- NumericTickFormatterSpec? tickFormatterSpec,
- bool? showAxisLine,
- ScaleSpec<
num> ? scaleSpec, - 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);