initialVisibleMaximum property

double? initialVisibleMaximum
final

The maximum visible value of the axis.

The axis is rendered to this value initially.

Defaults to null.

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

Implementation

final double? initialVisibleMaximum;