# JS API Reference

# Welcome to the Highcharts JS Options Reference

These pages outline the chart configuration options, and the methods and properties of Highcharts objects.

Feel free to search this API through the search bar or the navigation tree in the sidebar.

# plotOptions.dependencywheel.events.legendItemClick

Fires when the legend item belonging to the series is clicked. One parameter, `event`, is passed to the function. The default action is to toggle the visibility of the series. This can be prevented by returning `false` or calling `event.preventDefault()`.