XYDiagram2D.ZoomOut(Nullable<Point>) Method

Zooms out of a diagram.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

Declaration

public void ZoomOut(
    Point? zoomLocation
)
Public Sub ZoomOut(
    zoomLocation As Point?
)

Parameters

Name Type Description
zoomLocation Nullable<Point>

A Point object that specifies a new zoom location.

Remarks

The point passed as a parameter keeps its position after the zoom operation.

XYDiagram2D diagram = (XYDiagram2D)chart.Diagram;
diagram.ZoomOut(new Point(200, 200));

To verify whether it is possible to zoom a diagram, call the XYDiagram2D.CanZoomOut method.

See Also