maximum property

double? maximum
final

The maximum value of the axis.

The axis will end at this value.

Defaults to null.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryYAxis: CategoryAxis(maximum: 10),
       )
   );
}

Implementation

final double? maximum;