zoomFactor property

double zoomFactor
final

Zoom factor of an axis.

Scale the axis based on this value, and it ranges from 0 to 1.

Defaults to 1.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
          primaryXAxis: NumericAxis(zoomFactor: 0.5),
       ));
}

Implementation

final double zoomFactor;