initialVisibleMaximum property
The maximum visible value of the axis. The axis will be rendered from this date initially.
Defaults to null
.
Widget build(BuildContext context) {
return Container(
child: SfCartesianChart(
primaryXAxis: DateTimeAxis(initialVisibleMaximum: DateTime(2019)),
)
);
}
Implementation
final DateTime? initialVisibleMaximum;