score:1

Accepted answer

For some reason (bug probably) legendItemClick doesn't fire for the pie series (that would be appropriate place to handle this custom behavior).

As a workaround I overwrote the core function Highcharts.Legend.prototype.setItemEvents and implemented the desired functionality there: https://jsfiddle.net/kkulig/236gpt4s/

    // custom code - handle categories        
    item.series.chart.series.forEach(function(s) {
        s.points.forEach(function(p) {
        if(p.name === item.name) {
            p.setVisible();
        }
      });
    });

Related Query

More Query from same tag