# PivotChartSeriesType (@salmonui/pivot-table)

> The PivotChartSeriesType type of @salmonui/pivot-table: Pivot chart types. Each maps to Chart series options (pivotChartSeriesOptions()): spline is a line with curve: 'natural', stepLine a line with curve: 'step', the stacked kinds set stack ('percent' for 100 %). polar and radar are closed lines in coordinate="polar" / "radar" (pivotChartProps() sets it; Chart needs features={[polar]}). pie, doughnut, funnel and pyramid are not Chart series: PivotChart from @salmonui/pivot-table/chart draws them with PieChart and FunnelChart, and their shape here is only a column data fallback. pivotType keeps the requested type.

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

```ts
import type { PivotChartSeriesType } 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: type

```ts
type PivotChartSeriesType = 'line' | 'column' | 'area' | 'bar' | 'spline' | 'stepLine' | 'stackingColumn' | 'stackingColumn100' | 'stackingBar' | 'stackingBar100' | 'stackingArea' | 'stackingArea100' | 'scatter' | 'bubble' | 'polar' | 'radar' | 'pareto' | 'pie' | 'doughnut' | 'funnel' | 'pyramid';
```

Pivot chart types. Each maps
to `Chart` series options (`pivotChartSeriesOptions()`): `spline` is a
`line` with `curve: 'natural'`, `stepLine` a `line` with `curve: 'step'`,
the stacked kinds set `stack` (`'percent'` for 100 %). `polar` and `radar`
are closed lines in `coordinate="polar"` / `"radar"` (`pivotChartProps()`
sets it; `Chart` needs `features={[polar]}`). `pie`, `doughnut`, `funnel`
and `pyramid` are not `Chart` series: `PivotChart` from
`@salmonui/pivot-table/chart` draws them with `PieChart` and
`FunnelChart`, and their shape here is only a `column` data fallback.
`pivotType` keeps the requested type.
