API reference: @salmonui/pivot-table
PivotToSeriesOptionsinterface
import type { PivotToSeriesOptions } from '@salmonui/pivot-table';interface PivotToSeriesOptions {
readonly measure?: string | undefined;
readonly seriesBy?: 'columns' | 'rows' | undefined;
readonly type?: PivotChartSeriesType | undefined;
readonly includeTotals?: boolean | undefined;
readonly labelSeparator?: string | undefined;
}
| Name | Signature | Description |
|---|---|---|
measureoptional | readonly measure?: string | undefined; | Measure (value field name) to chart. Default: the first value field. |
seriesByoptional | readonly seriesBy?: 'columns' | 'rows' | undefined; | Members on the series: |
typeoptional | readonly type?: PivotChartSeriesType | undefined; | Series type. Default |
includeTotalsoptional | readonly includeTotals?: boolean | undefined; | Include subtotal and grand total members. Default false. |
labelSeparatoroptional | readonly labelSeparator?: string | undefined; | Category member labels joined with this text for nested members. Default |