# pivotChartProps (@salmonui/pivot-table)

> The pivotChartProps function of @salmonui/pivot-table: Chart props of the controller's current result: &lt;Chart {...pivotChartProps(pivot, { type: 'column' })} />. Not memoized; in components use usePivotChartProps().

Canonical: https://salmonui.dev/docs/reference/pivot-table/pivotChartProps-function

```ts
import { 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: function

```ts
function pivotChartProps<Row>(pivot: PivotController<Row>, options?: PivotChartPropsOptions): PivotChartProps;
```

`Chart` props of the controller's current result:
`<Chart {...pivotChartProps(pivot, { type: 'column' })} />`. Not memoized;
in components use `usePivotChartProps()`.
