visibleMaximum property

double? visibleMaximum
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(visibleMaximum: 20),
       ));
}

Implementation

final double? visibleMaximum;