# PivotChartProps (@salmonui/pivot-table)

> The PivotChartProps interface of @salmonui/pivot-table: The Chart props of a pivot (spread them on &lt;Chart> from @salmonui/charts/chart).

Canonical: https://salmonui.dev/docs/reference/pivot-table/PivotChartProps-interface

```ts
import type { PivotChartProps } from '@salmonui/pivot-table';
```

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

## Reference

Kind: interface

```ts
interface PivotChartProps {
    readonly data: NonNullable<ChartProps['data']>;
    readonly series: readonly PivotChartSeries[];
    readonly xAxis: ChartAxisOptions;
    readonly yAxis: ChartAxisOptions;
    readonly coordinate?: 'polar' | 'radar';
    readonly onPointClick: NonNullable<ChartProps['onPointClick']>;
}
```

The `Chart` props of a pivot (spread them on `<Chart>` from `@salmonui/charts/chart`).

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `data` | `readonly data: NonNullable<ChartProps['data']>;` |  |  |
| `series` | `readonly series: readonly PivotChartSeries[];` |  |  |
| `xAxis` | `readonly xAxis: ChartAxisOptions;` |  |  |
| `yAxis` | `readonly yAxis: ChartAxisOptions;` |  |  |
| `coordinate` | `readonly coordinate?: 'polar' \| 'radar';` | optional | `'polar'` or `'radar'` for those pivot chart types (`Chart` needs `features={[polar]}`). |
| `onPointClick` | `readonly onPointClick: NonNullable<ChartProps['onPointClick']>;` |  |  |
