Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxChartXYDiagram.ResetZoom Method

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

#Declaration

Delphi
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