maximum property

DateTime? maximum
final

Maximum value of the axis.

The axis will end at this date and data points above this value will not be rendered.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: DateTimeCategoryAxis(maximum: DateTime(2019)),
       )
   );
}

Implementation

final DateTime? maximum;