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({
  super.renderSpec,
  DateTimeTickProviderSpec? super.tickProviderSpec,
  DateTimeTickFormatterSpec? super.tickFormatterSpec,
  super.showAxisLine,
  this.viewport,
});