initialVisibleMinimum property

DateTime? initialVisibleMinimum
final

The minimum 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(initialVisibleMinimum: DateTime(2000)),
       )
   );
}

Implementation

final DateTime? initialVisibleMinimum;