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.ChartingMVVM.Views.ViewXY
Assembly:
Arction.Wpf.ChartingMVVM.LightningChart (in Arction.Wpf.ChartingMVVM.LightningChart.dll) Version: 10.3.1
Syntaxpublic void Zoom(
int startX,
int startY,
int stopX,
int stopY
)
Public Sub Zoom (
startX As Integer,
startY As Integer,
stopX As Integer,
stopY As Integer
)
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