# ChartZoomOptions (@salmonui/charts/chart)

> The ChartZoomOptions interface of @salmonui/charts/chart.

Canonical: https://salmonui.dev/docs/reference/charts/chart/ChartZoomOptions

```ts
import type { ChartZoomOptions } from '@salmonui/charts/chart';
```

Entry index: https://salmonui.dev/docs/reference/charts/chart (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/charts/chart.md).

## Reference

Kind: interface

```ts
interface ChartZoomOptions {
    readonly wheel?: boolean | undefined;
    readonly selection?: boolean | undefined;
    readonly pan?: boolean | undefined;
    readonly pinch?: boolean | undefined;
    readonly mode?: 'x' | 'y' | 'xy' | undefined;
    readonly deferred?: boolean | undefined;
    readonly toolbar?: boolean | readonly ChartZoomTool[] | undefined;
    readonly toolbarPosition?: 'topEnd' | 'topStart' | 'bottomEnd' | 'bottomStart' | undefined;
}
```

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `wheel` | `readonly wheel?: boolean \| undefined;` | optional |  |
| `selection` | `readonly selection?: boolean \| undefined;` | optional |  |
| `pan` | `readonly pan?: boolean \| undefined;` | optional |  |
| `pinch` | `readonly pinch?: boolean \| undefined;` | optional | Two-finger pinch on touch screens. |
| `mode` | `readonly mode?: 'x' \| 'y' \| 'xy' \| undefined;` | optional |  |
| `deferred` | `readonly deferred?: boolean \| undefined;` | optional | Pan moves the drawn series and commits on release instead of laying out every frame. |
| `toolbar` | `readonly toolbar?: boolean \| readonly ChartZoomTool[] \| undefined;` | optional | Zoom toolbar: `true` for every tool, or the tools to show. |
| `toolbarPosition` | `readonly toolbarPosition?: 'topEnd' \| 'topStart' \| 'bottomEnd' \| 'bottomStart' \| undefined;` | optional |  |
