Skip to content

CartesianChart.Zoom method

Changes the visible range of the axes.

Namespace: Eremex.AvaloniaUI.Charts
Assembly: Eremex.Avalonia.Charts.dll
NuGet Package: Eremex.Avalonia.Controls

Declaration

public void Zoom(double delta, IEnumerable<Axis>? axes = null)

Parameters

name type description
delta double The zoom step. A positive value zooms in, a negative value zooms out, and zero leaves the range unchanged.
axes IEnumerable<Axis>? The axes to zoom. Pass null to zoom all axes of the chart.

See Also

Used in articles