visibleMaximum 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(visibleMaximum: DateTime(2019)),
)
);
}
Implementation
final DateTime? visibleMaximum;