initialZoomPosition property

double initialZoomPosition
final

Position of the zoomed axis. The value ranges from 0 to 1.

Defaults to 0.

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

Implementation

final double initialZoomPosition;