API REFERENCE

contextMenuItems

Append custom menu items after the built-in image and data export items. This array does not replace the default menu. Pass objects with action callbacks as a JavaScript property.

Definition

ItemValue
JavaScript propertycontextMenuItems
HTML attributePass objects, arrays, and callbacks as JavaScript properties
TypeChartMenuItem[]
Defaultundefined

undefined means this property was not explicitly set. The effective value may depend on the chart type and other settings.