Documentation / @finchart/core / XAxisOptions
Interface: XAxisOptions
Defined in: packages/core/src/plot/types.ts:46
x축(아래)이 더 갖는 것.
Extends
Properties
format?
optionalformat?: (value,step?) =>string
Defined in: packages/core/src/plot/types.ts:34
눈금 값 → 표시 문자열. ticks 전략이 있으면 눈금에는 안 쓰이지만, 장식(크로스헤어 배지·툴팁·레전드·priceLine)의 기본 표기로는 전략과 무관하게 쓰인다. 두 번째 인자로 눈금 간격이 온다 — 이웃 눈금을 구분할 자릿수를 고르는 데 쓴다.
Parameters
value
number
step?
number
Returns
string
Inherited from
minTickSpacing?
optionalminTickSpacing?:number
Defined in: packages/core/src/plot/types.ts:36
눈금 하나가 차지할 최소 픽셀. 생략하면 방향별 기본값.
Inherited from
showLabels?
optionalshowLabels?:boolean
Defined in: packages/core/src/plot/types.ts:27
눈금 라벨을 오버레이에 올릴지. 기본 true.
Inherited from
size?
optionalsize?:number
Defined in: packages/core/src/plot/types.ts:51
축 자리의 고정 높이(px). 주면 측정을 건너뛴다. 라벨이 이보다 크면 잘린다 — 그게 고정의 뜻이다.
ticks?
optionalticks?:TickStrategy
Defined in: packages/core/src/plot/types.ts:42
눈금의 배치와 라벨을 통째로 — 시간축(timeTicks)이 이 자리다. x와 y 둘 다, pane별로도 읽는다. 전략이 있으면 기본 산술과 format은 쓰이지 않는다.