# ChartChangeEvent (@salmonui/charts/chart)

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

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

```ts
import type { ChartChangeEvent } 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 ChartChangeEvent<R extends string = string> {
    readonly source: 'pointer' | 'keyboard' | 'touch' | 'api';
    readonly reason: R;
}
```

Members (2):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `source` | `readonly source: 'pointer' \| 'keyboard' \| 'touch' \| 'api';` |  |  |
| `reason` | `readonly reason: R;` |  |  |
