zoomByFactor method
Changes the zoom level using zoom factor. Here, you can pass the zoom factor of an axis to magnify the plot area. The value ranges from 0 to 1.
Implementation
void zoomByFactor(double zoomFactor) {
for (int index = 0;
index < _chart._chartAxis._axisCollections.length;
index++) {
final dynamic axis = _chart._chartAxis._axisCollections[index];
axis._zoomFactor = zoomFactor;
_chart._chartState._redraw();
}
}