zoomPosition property

double zoomPosition
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(zoomPosition: 0.6),
       ));
}

Implementation

final double zoomPosition;