onDrawSelectionZoomRect method Null safety

void onDrawSelectionZoomRect(
  1. double currentX,
  2. double currentY,
  3. double startX,
  4. double startY
)

Chart can be zoomed by a rectangular selecting region on the plot area.

  • startX - start position of selection zooming in X axis.
  • startY - start position of selection zooming in Y axis.
  • currentX - end position of the selection zooming in X axis.
  • currentY - end position of the selection zooming in Y axis.

Implementation

void onDrawSelectionZoomRect(
    double currentX, double currentY, double startX, double startY);