Interface ChartObjectDrawing

Structural contract keeps the base tier independent of drawing code.

interface ChartObjectDrawing {
    id: string;
    locked?: boolean;
    paneIndex: number;
    points: readonly { price: number; time: number }[];
    tool: string;
    visible?: boolean;
}

Properties

id: string
locked?: boolean
paneIndex: number
points: readonly { price: number; time: number }[]
tool: string
visible?: boolean