Documentation / @finchart/core / XDomainChangePayload
Interface: XDomainChangePayload
Defined in: packages/core/src/plot/plot.ts:155
보고 있는 x 구간이 바뀌었다.
y 도메인은 알리지 않는다 — 그건 시리즈에 맞춰 따라오는 것이지 사용자가 이동한 결과가 아니다.
Properties
dataRange
dataRange:
Range|null
Defined in: packages/core/src/plot/plot.ts:166
가진 데이터의 x 범위. 끝에 얼마나 가까운지 재는 기준이다. 데이터가 없으면 null.
endX
endX:
number
Defined in: packages/core/src/plot/plot.ts:161
startX
startX:
number
Defined in: packages/core/src/plot/plot.ts:160
지금 보고 있는 구간, 데이터 x로. 봉 번호 좌표계여도 인덱스가 아니다 — dataRange와 단위가 같아야 구독자가 "끝에 얼마나 가까운가"를 잴 수 있다.