initialZoomFactor property

double initialZoomFactor
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(initialZoomFactor: 0.5),
        )
    );
}

Implementation

final double initialZoomFactor;