I'm looking to make my own legend that can hide/show series on click of legend items (the same way that the regular legend works). I have found plenty of examples of how to do this when the chart data is stored locally but they haven't been working for me. I've a feeling it could be down to the fact that I'm working with Highcharts Cloud and pulling data from Google Sheets.
I'm injecting the chart into my prototype with the following;
<div id="highcharts-1rPamh_W8"><script src="https://cloud.highcharts.com/inject/1rPamh_W8/" defer="defer"></script></div>
Any help would be much appreciated!