DateTimeAxisSpec constructor

const DateTimeAxisSpec({
  1. RenderSpec<DateTime>? renderSpec,
  2. DateTimeTickProviderSpec? tickProviderSpec,
  3. DateTimeTickFormatterSpec? tickFormatterSpec,
  4. bool? showAxisLine,
  5. DateTimeExtents? viewport,
})

Creates a AxisSpec that specialized for timeseries 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 DateTimeAxisSpec({
  RenderSpec<DateTime>? renderSpec,
  DateTimeTickProviderSpec? tickProviderSpec,
  DateTimeTickFormatterSpec? tickFormatterSpec,
  bool? showAxisLine,
  this.viewport,
}) : super(
          renderSpec: renderSpec,
          tickProviderSpec: tickProviderSpec,
          tickFormatterSpec: tickFormatterSpec,
          showAxisLine: showAxisLine);