Skip to main content
A newer version of this page is available. .

TdxChartXYDiagram.ResetZoom Method

Restores the zoom factor of 100% by the axis of arguments (X-Axis) and the axis of values (Y-Axis).

Declaration

procedure ResetZoom;

Remarks

Call the ResetZoom procedure to display the XY diagram in full when it is zoomed in.

Note

A ResetZoom procedure call raises OnBeforeZoom and OnZoom events.

Limitations

A ResetZoom procedure call restores the zoom factor of 100% for the diagram only if the following conditions are met:

  • The ZoomOptions.AxisXZoomingEnabled or ZoomOptions.AxisYZoomingEnabled property is set to True. If only one of these properties is set to True, the ResetZoom procedure restores the zoom factor of 100% only by the corresponding axis.
  • The current zoom factor by the axis of arguments or the axis of values exceeds 100%.

Otherwise, a ResetZoom procedure call has no effect.

See Also