DimensionNodeBuilder
Dimension node builder for configuring a single dimension.
Properties
Methods
constructor
Definition:
Parameters:
getId
Gets the node ID.
Definition:
Returns: string
getField
Gets the field name.
Definition:
Returns: string
getEncoding
Gets the chart encoding position.
Definition:
Returns: VBIDimension['encoding'] \| undefined
getSort
Gets the sort configuration.
Definition:
Returns: VBISort \| undefined
setAlias
Sets the display name.
Definition:
Returns: this
Parameters:
setEncoding
Sets the chart encoding position.
Definition:
Returns: this
Parameters:
setSort
Sets the sort configuration.
Definition:
Returns: this
Parameters:
setAggregate
Sets the date aggregation function.
Definition:
Returns: this
Parameters:
clearAggregate
Clears the date aggregation function.
Definition:
Returns: this
clearSort
Clears the sort configuration.
Definition:
Returns: this
toJSON
Exports to JSON.
Definition:
Returns: VBIDimension