function
Source: PivotTable.tsx ↗
getPivotTableDimensions()
Prepares dimensions for pivot table execution from buckets and info if table is transposed or not.
export declare function getPivotTableDimensions(buckets: IBucket[], isTransposed: boolean): IDimension[];
Parameters
Parameter | Type | Description |
|---|---|---|
buckets | IBucket[] | table buckets |
isTransposed | boolean | whether table is transposed (metrics are in rows) |
Returns