DateTimeAxisSpec constructor
const
DateTimeAxisSpec({
- RenderSpec<
DateTime> ? renderSpec, - DateTimeTickProviderSpec? tickProviderSpec,
- DateTimeTickFormatterSpec? tickFormatterSpec,
- bool? showAxisLine,
- 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);