Back to Devexpress

TdxChartXYDiagram.ResetZoom Method

vcl-dxchartxydiagram-dot-tdxchartxydiagram-ebfbd40c.md

latest1.7 KB
Original Source

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

TdxChartXYDiagram.ZoomIn Procedure

TdxChartXYDiagram.ZoomOut Procedure

TdxChartXYDiagram.ZoomOptions Property

TdxChartXYDiagram Class

TdxChartXYDiagram Members

dxChartXYDiagram Unit