Hi,
Welcome to our forum and thanks for contacting us with your question!
Highcharts doesn't have a built-in feature for collapsing legend items into a dropdown directly. However, you can achieve a similar effect by customizing the legend using a combination of JavaScript and CSS.
Here's a general approach:
1. Custom Dropdown: Create a custom dropdown outside the chart container. You can use JavaScript to toggle the visibility of certain series based on dropdown selections.
2. Responsive Design: Use the responsive options to adjust the chart and legend layout based on screen size. For example, you could hide the legend entirely on smaller screens and replace it with your custom dropdown.
Here's a basic example of how you might start with a custom dropdown:
https://jsfiddle.net/BlackLabel/km5nq42w/
Feel free to reach out if you have any further questions.