API REFERENCE
addDrawing
add one drawing (an explicit id replaces).
Definition
addDrawing(drawing: ChartDrawingInput): Promise<ChartDrawing | null>| Arguments | Type | Required |
|---|---|---|
drawing | ChartDrawingInput | Required |
Return type: Promise<ChartDrawing | null>. Call the method after element registration and await its Promise result.
- ChartDrawing
Type definition
- ChartDrawingInput
Type definition