onDrawSelectionZoomRect abstract method

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 selectionzooming in X axis.
  • startY - start position of selectionzooming 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);