zoomByRect method

void zoomByRect(
  1. Rect rect
)

Zooms the chart for a given rectangle value.

Here, you can pass the rectangle with the left, right, top, and bottom values, using which the selection zooming will be performed.

Implementation

void zoomByRect(Rect rect) {
  _drawSelectionZoomRect(rect);
}