XYDiagram2D.ZoomIn(Nullable<Point>) Method

Zooms in to a diagram.

Namespace: DevExpress.Xpf.Charts

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


public void ZoomIn(
    Point? zoomLocation
Public Sub ZoomIn(
    zoomLocation As Point?


Name Type Description
zoomLocation Nullable<Point>

A Point object that specifies a new zoom location.


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

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

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

See Also