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