> ## Documentation Index
> Fetch the complete documentation index at: https://docs.explo.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Custom Menu

> The Custom Menu option allows you add a menu option to a chart that then fires off a javascript event when clicked on by the end user.

<img src="https://mintcdn.com/explo/4Y9DMZyhe_6AAnca/images/dashboard-features/custom-menu-1.png?fit=max&auto=format&n=4Y9DMZyhe_6AAnca&q=85&s=0815363d8f61467d4c388bf59bc62396" alt="" width="1007" height="658" data-path="images/dashboard-features/custom-menu-1.png" />

## Configuration

The configuration for this custom menu option can be found in the Action tab for the following charts:

* Bar Chart
* Line Chart
* Area Chart
* Pie Chart
* Heat Map
* Boxplot

<img src="https://mintcdn.com/explo/4Y9DMZyhe_6AAnca/images/dashboard-features/custom-menu-2.png?fit=max&auto=format&n=4Y9DMZyhe_6AAnca&q=85&s=e6c6c0767df95d0be2b32acfb72d5c79" alt="" width="1007" height="658" data-path="images/dashboard-features/custom-menu-2.png" />

Once toggled on, you’ll need to specify the name of the menu option under Menu Option Name.
This is what will show up when a certain bar, point, slice, etc. is clicked. Then you will
specify the javascript event name under Customer JS Event Name. This will be the name that
is passed into the event listener in your frontend code that will then trigger the desired action.

The detail body that is passed with the javascript event contains the `category` value and `color` value.
