zoomIn method
Increases the magnification of the plot area.
Implementation
void zoomIn() {
bool needZoom;
for (int index = 0;
index < _chart._chartAxis._axisCollections.length;
index++) {
final dynamic axis = _chart._chartAxis._axisCollections[index];
if (axis._zoomFactor <= 1.0 && axis._zoomFactor > 0.0) {
if (axis._zoomFactor - 0.1 < 0) {
needZoom = false;
break;
} else {
axis._zoomFactor -= 0.1;
axis._zoomPosition = 0.2;
needZoom = true;
}
}
}
if (needZoom) {
_chart._chartState._redraw();
}
}