Click or drag to resize

ViewXYZoom Method

LightningChart .NET Help
Zoom the chart in or out. The input parameters in screen coordinates (pixels). If stop point X is greater than start point X, zooms in. If stop point X is less than start point X, fits the view.

Namespace:  Arction.Wpf.Charting.Views.ViewXY
Assembly:  Arction.Wpf.Charting.LightningChart (in Arction.Wpf.Charting.LightningChart.dll) Version: 10.3.1
Syntax
public void Zoom(
	int startX,
	int startY,
	int stopX,
	int stopY
)

Parameters

startX
Type: SystemInt32
Zoom start point X, in pixels.
startY
Type: SystemInt32
Zoom start point Y, in pixels.
stopX
Type: SystemInt32
Zoom stop point X, in pixels.
stopY
Type: SystemInt32
Zoom stop point Y, in pixels.
See Also