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