DimensionNodeBuilder

単一ディメンションを設定するディメンションノードビルダー

メソッド

constructor

定義:

constructor(yMap: Y.Map<any>)

パラメータ:

パラメータ説明
yMapY.Map-

getId

ノード ID を取得

定義:

getId(): string

戻り値: string

getField

フィールド名を取得

定義:

getField(): string

戻り値: string

getEncoding

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

定義:

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

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

getSort

ソート設定を取得

定義:

getSort(): VBISort | undefined

戻り値: VBISort \| undefined

setAlias

表示名を設定

定義:

setAlias(alias: string): this

戻り値: this

パラメータ:

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

setEncoding

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

定義:

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

戻り値: this

パラメータ:

パラメータ説明
encodingNonNullable<VBIDimension['encoding']>- ディメンションエンコーディング位置

setSort

ソート設定を設定

定義:

setSort(sort: VBISort): this

戻り値: this

パラメータ:

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

setAggregate

日付集計関数を設定

定義:

setAggregate(aggregate: NonNullable<VBIDimension['aggregate']>): this

戻り値: this

パラメータ:

パラメータ説明
aggregateNonNullable<VBIDimension['aggregate']>- 日付集計設定

clearAggregate

日付集計関数をクリア

定義:

clearAggregate(): this

戻り値: this

clearSort

ソート設定をクリア

定義:

clearSort(): this

戻り値: this

toJSON

JSON としてエクスポート

定義:

toJSON(): VBIDimension

戻り値: VBIDimension