getPivotTableDimensions()
Home > @gooddata/sdk-ui-pivot > getPivotTableDimensions
getPivotTableDimensions() function
Prepares dimensions for pivot table execution from buckets and info if table is transposed or not.
Signature:
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: