Skip to content

Documentation / @finchart/core / PaneOptions

Interface: PaneOptions

Defined in: packages/core/src/plot/pane.ts:57

Properties

autoScale?

optional autoScale?: boolean

Defined in: packages/core/src/plot/pane.ts:70

값 축이 보이는 구간을 따라간다. 기본 true. 금융 차트의 기본 동작이다 — 1년치에서 최근 1주로 줌인하면 그 1주가 pane을 채워야 한다. 끄면 원본 전체에 맞추고, 그 뒤로는 직접 정한 값 구간이 프레임마다 덮이지 않는다.


axis?

optional axis?: AxisOptions

Defined in: packages/core/src/plot/pane.ts:72

이 pane의 값 축 설정. 생략한 항목은 Plot의 기본값을 따른다.


flex?

optional flex?: number

Defined in: packages/core/src/plot/pane.ts:59

남는 세로 공간을 나눠 갖는 비율. 기본 1.


invert?

optional invert?: boolean

Defined in: packages/core/src/plot/pane.ts:77

값 축 반전 — 큰 값이 아래로 간다. 수익률 곡선의 스프레드처럼 "작을수록 좋은" 값의 자리다. 상태다(PaneState.invert).


minHeight?

optional minHeight?: number

Defined in: packages/core/src/plot/pane.ts:61

이 아래로는 줄어들지 않는다 (px). 기본 40.


valuePadding?

optional valuePadding?: number

Defined in: packages/core/src/plot/pane.ts:63

값 축이 데이터에 붙지 않도록 주는 여유. 기본 0.1