zoomOut method

void zoomOut ()

Decreases the magnification of the plot area.

Implementation

void zoomOut() {
  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) {
      axis._zoomFactor += 0.1;
      axis._zoomPosition = 0.2;
    }
  }
  _chart._chartState._redraw();
}