Skip to content

charton API


charton API / @chart-on/core / index / NumericPrimitiveHost

Interface: NumericPrimitiveHost ​

Defined in: packages/core/src/numeric/types.ts:45

Handed to NumericPrimitive.attached.

Methods ​

requestOverlayRedraw() ​

requestOverlayRedraw(): void

Defined in: packages/core/src/numeric/types.ts:52

The same as requestRedraw: a numeric chart redraws all its layers together. Here so a primitive written for both chart types can call it.

Returns ​

void


requestRedraw() ​

requestRedraw(): void

Defined in: packages/core/src/numeric/types.ts:47

Redraw the chart on the next frame. Primitives are not redrawn otherwise.

Returns ​

void