Link a PlotLine to a Series
I cannot find a way to link a PlotLine (an average line, for example) to a specific series. I would like to be able to toggle the visibility of such a line with the visibility of a series. There's currently no way to do that easily, and I think that this would be a useful feature for a lot of scenarios.
3
votes
![](https://secure.gravatar.com/avatar/2c2cbabe0eef0268abdf8f3b6f10ebe9?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
You can link them together using event handlers like so: http://jsfiddle.net/yb18evpt/
-
AdminPaweł Fus (Admin, Highcharts JS) commented
Alternatively, we can use Annotations module, PoC: http://jsfiddle.net/BlackLabel/Luw0nhme/