API REFERENCE

openContextMenu

Opens the shared context menu at chart-local coordinates, or the chart centre when omitted.

Definition

typescript
openContextMenu(options?: ChartContextMenuOpenOptions): Promise<void>
ArgumentsTypeRequired
optionsChartContextMenuOpenOptionsOptional

Return type: Promise<void>. Call the method after element registration and await its Promise result.