Skip to content

Documentation / @finchart/core / PlotModel

Interface: PlotModel

Defined in: packages/core/src/plot/model.ts:39

Properties

plot

plot: Plot

Defined in: packages/core/src/plot/model.ts:41

무대 그 자체 — 상태·데이터·장식·플러그인 API가 전부 그대로다.

Methods

commands()

commands(): readonly DrawCommand[]

Defined in: packages/core/src/plot/model.ts:47

마지막 프레임의 그리기 명령. 이것이 모델의 출력이다 — 그리드·시리즈· 장식에 눈금 라벨·배지까지 들어 있다. 순수 데이터라 직렬화·worker 전송· 스냅샷 단언이 전부 안전하다.

Returns

readonly DrawCommand[]