Documentation / @finchart/core / PaneDecorationContext
Interface: PaneDecorationContext
Defined in: packages/core/src/plot/decoration.ts:58
pane에 등록된 장식이 받는 것.
y가 필요한 것은 pane 소속이다 — x는 Plot이, y는 Pane이 소유하기 때문이다. 그래서 여기서는 yScale도 pane도 있는 것이 보장된다.
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
formatY
formatY:
ValueFormat
Defined in: packages/core/src/plot/decoration.ts:64
해석된 y 표기 — pane.formatValue의 설탕이다.
pane
pane:
Pane
Defined in: packages/core/src/plot/decoration.ts:59
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:62
이미 계산된 눈금. y는 이 pane의 것이다.
x
x:
Tick[]
y
y:
Tick[]
x
x:
XMapping
Defined in: packages/core/src/plot/decoration.ts:42
점의 x가 화면 어디에 놓이는가. 시리즈가 보는 것과 같다.
Inherited from
DecorationBase.x
yScale
yScale:
Scale
Defined in: packages/core/src/plot/decoration.ts:60