function
Source: dimension.ts ↗
dimensionSetTotals()
Creates a new dimension which has same items as the provided dimension but different totals.
export declare function dimensionSetTotals(dim: IDimension, totals?: ITotal[]): IDimension;
Parameters
Parameter | Type | Description |
|---|---|---|
dim | dimension to inherit item identifiers from | |
totals | ITotal[] | (Optional) totals to have in the new dimension |
Returns
new dimension