function
Source: dimension.ts ↗
newDimension()
Creates new single-dimensional specification where the dimension will have the provided set of identifiers.
export declare function newDimension(items?: DimensionItem[], totals?: ITotal[]): IDimension;
Parameters
Parameter | Type | Description |
|---|---|---|
items | (Optional) allows for mix of item identifiers, attributes and total definitions to have in the new dimension | |
totals | ITotal[] | (Optional) additional totals to add to the dimension |
Returns
single dimension