API REFERENCE
openContextMenu
Opens the shared context menu at chart-local coordinates, or the chart centre when omitted.
Definition
openContextMenu(options?: ChartContextMenuOpenOptions): Promise<void>| Arguments | Type | Required |
|---|---|---|
options | ChartContextMenuOpenOptions | Optional |
Return type: Promise<void>. Call the method after element registration and await its Promise result.
- ChartContextMenuOpenOptions
Type definition