DimensionNodeBuilder
维度节点构建器,用于配置单个维度
属性
方法
constructor
定义:
参数:
getId
获取节点 ID
定义:
返回: string
getField
获取字段名
定义:
返回: string
getEncoding
获取图表编码位置
定义:
返回: VBIDimension['encoding'] \| undefined
getSort
获取排序配置
定义:
返回: VBISort \| undefined
setAlias
设置显示名称
定义:
返回: this
参数:
setEncoding
设置图表编码位置
定义:
返回: this
参数:
setSort
设置排序配置
定义:
返回: this
参数:
setAggregate
设置日期聚合函数
定义:
返回: this
参数:
clearAggregate
清除日期聚合函数
定义:
返回: this
clearSort
清除排序配置
定义:
返回: this
toJSON
导出为 JSON
定义:
返回: VBIDimension