Accepted answer

you'll have to handle the legenditemclick event and specifically hide (and show) the "sister" series.

i have a running example in this jsfiddle.

note that i'm using the links variable as an easy way to get the "sister" series for a given series.

also note that i've added an id to each series so that chart.get() returns the series when given its id.


you can also use linkedto options from highcharts, see:

there is only one limit - linked series isn't displayed in legend, so probably it may not fit the best your example. since highcharts 3.0.7 you can set series.showinlegend = true to display linked series in legend.

Related Query

More Query from same tag