# 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.

Canonical: https://chart.syidax.com/docs/options/contextMenuItems/

<a id="definition"></a>

## Definition

| Item | Value |
| --- | --- |
| JavaScript property | `contextMenuItems` |
| HTML attribute | Pass objects, arrays, and callbacks as JavaScript properties |
| Type | `ChartMenuItem[]` |
| Default | `undefined` |

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

- [ChartMenuItem](https://chart.syidax.com/docs/types/ChartMenuItem.md) — Type definition

<a id="related"></a>

## Related documentation

A property with the same name may have different types and defaults across charts. When using a direct tag, follow that chart's documentation below.

- [Shared facade and direct tags](https://chart.syidax.com/docs/concepts.md)
