Skip to main content

Interface: CreateShapeOptionsBase<TOverrides>

Charting Library.CreateShapeOptionsBase

Options for creating a drawing.

Type parameters

NameType
TOverridesextends object

Hierarchy

Properties

disableSave

Optional disableSave: boolean

Disable/enable saving the drawing.


disableSelection

Optional disableSelection: boolean

Disable/enable selecting the drawing.


disableUndo

Optional disableUndo: boolean

Disable/enable undoing the creation of the drawing.


filled

Optional filled: boolean

Enable/disable filling the drawing with color (if the drawing supports filling).


icon

Optional icon: number

Specify an icon to render - Only icons listed here are supported


lock

Optional lock: boolean

Should drawing be locked


overrides

Optional overrides: TOverrides

Drawing properties overrides.


ownerStudyId

Optional ownerStudyId: EntityId

An entity ID that can be used to associate the drawing with a study.


showInObjectsTree

Optional showInObjectsTree: boolean

Enable/disable showing the drawing in the objects tree.


text

Optional text: string

Text for drawing


zOrder

Optional zOrder: "top" | "bottom"

Create the drawing in front of all other drawings, or behind all other drawings.