MeasureNodeBuilder

単一メジャーを設定するメジャーノードビルダー

メソッド

constructor

定義:

constructor(yMap: Y.Map<any>)

パラメータ:

パラメータ説明
yMapY.Map-

getId

ノード ID を取得

定義:

getId(): string

戻り値: string

getField

フィールド名を取得

定義:

getField(): string

戻り値: string

getEncoding

チャートエンコーディング位置を取得

定義:

getEncoding(): VBIMeasure['encoding'] | undefined

戻り値: VBIMeasure['encoding'] \| undefined

getSort

ソート設定を取得

定義:

getSort(): VBISort | undefined

戻り値: VBISort \| undefined

setAlias

表示名を設定

定義:

setAlias(alias: string): this

戻り値: this

パラメータ:

パラメータ説明
aliasstring- 表示名

setEncoding

チャートエンコーディング位置を設定

定義:

setEncoding(encoding: NonNullable<VBIMeasure['encoding']>): this

戻り値: this

パラメータ:

パラメータ説明
encodingNonNullable<VBIMeasure['encoding']>- メジャーエンコーディング位置

setSort

ソート設定を設定

定義:

setSort(sort: VBISort): this

戻り値: this

パラメータ:

パラメータ説明
sortVBISort- ソート設定

setAggregate

集計関数を設定

定義:

setAggregate(aggregate: VBIMeasure['aggregate']): this

戻り値: this

パラメータ:

パラメータ説明
aggregateVBIMeasure['aggregate']- 集計設定

setFormat

数値書式を設定

定義:

setFormat(format: VBIMeasureFormat): this

戻り値: this

パラメータ:

パラメータ説明
formatVBIMeasureFormat- 書式設定

getFormat

数値書式を取得

定義:

getFormat(): VBIMeasureFormat | undefined

戻り値: VBIMeasureFormat \| undefined

clearFormat

数値書式設定をクリア

定義:

clearFormat(): this

戻り値: this

clearSort

ソート設定をクリア

定義:

clearSort(): this

戻り値: this

toJSON

JSON としてエクスポート

定義:

toJSON(): VBIMeasure

戻り値: VBIMeasure