# CartesianChart.Zoom method

Changes the visible range of the axes.

**Namespace:** [`Eremex.AvaloniaUI.Charts`](../index.md)  
**Assembly:** `Eremex.Avalonia.Charts.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
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

* class [Axis](../Axis.md)
* class [CartesianChart](../CartesianChart.md)
* namespace [Eremex.AvaloniaUI.Charts](../index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Charts.dll -->
