Documentation / @finchart/core / PlotDecorationContext
Interface: PlotDecorationContext
Defined in: packages/core/src/plot/decoration.ts:72
plot에 등록된 장식이 받는 것.
y 눈금도 값 축도 없다 — pane마다 다르기 때문이다. 필요하면 panes를 훑는다.
Extends
DecorationBase
Properties
area
area:
PlotArea
Defined in: packages/core/src/plot/decoration.ts:40
그릴 수 있는 영역. pane 소속이면 그 슬라이스, plot 소속이면 데이터 영역 전체다. 축 슬라이스는 어느 쪽에도 안 들어간다 — 축에 올릴 것은 그리는 게 아니라 서술한다 (R5).
Inherited from
DecorationBase.area
formatX
formatX:
ValueFormat
Defined in: packages/core/src/plot/decoration.ts:49
해석된 x 표기 — config.axis.x.format, 없으면 반올림 정수. 표기의 주인은 축이다: 장식은 자기 옵션이 없을 때 이걸 기본값으로 쓴다.
Inherited from
DecorationBase.formatX
panes
panes: readonly
Pane[]
Defined in: packages/core/src/plot/decoration.ts:73
readStyle
readStyle:
StyleReader
Defined in: packages/core/src/plot/decoration.ts:44
렌더당 한 번 만들어져 모두가 나눠 쓴다.
Inherited from
DecorationBase.readStyle
ticks
ticks:
object
Defined in: packages/core/src/plot/decoration.ts:75
x는 모든 pane이 공유하므로 한 벌이다.
x
x:
Tick[]
x
x:
XMapping
Defined in: packages/core/src/plot/decoration.ts:42
점의 x가 화면 어디에 놓이는가. 시리즈가 보는 것과 같다.
Inherited from
DecorationBase.x