On one page I have multiple Highcarts called in this manner $(class).highcharts(options). Number of Highcarts can vary depending upon the number of class available in page. Now I want to write a function which will trigger hover effect on pie chart on click of legend. This click event should be specific to each highchart. Due to some reason i cannot change initialization method.
http://jsfiddle.net/shashikant_tripathi/dn5891r8/
point: {
events: {
legendItemClick: function (e) {
//Here i want ot write something like this
chart.tooltip.refresh(chart.series[0].data[index]);
return false;
}
}
}
Similar function to above specified fiddle but in my case, there is multiple charts and initialization is done in different manner which is not possible for me to change right now. Can some one help me with this.
tooltip.refresh
insidelegendItemClick
event? Example: jsfiddle.net/yy936xug. – pawel_d