DrawingInstance\<State\>
Documentation / @elitechart/core / DrawingInstance
Defined in: drawing/types.ts:195
A drawing registered with a chart. Returned by chart.listDrawings()
as a flattened metadata projection; the full instance is opaque.
Example
Type Parameters
State
State = unknown
Properties
id
Defined in: drawing/types.ts:196
locked?
Defined in: drawing/types.ts:207
Locked drawings are visible + selectable but refuse handle-drag and
body-drag. chart.removeDrawing() still removes them (matches the
canonical default; an explicit "always remove locked drawings"
consumer setting can gate that in future chrome work).
state
Defined in: drawing/types.ts:198
styleOverride?
Defined in: drawing/types.ts:200
Per-drawing style overrides. Merged on top of the chart theme defaults.
tool
Defined in: drawing/types.ts:197