How to programmatically trigger click event in svg rectangle element element? like :$(\"#targetElm\").triger(\"click\");
You can use Highcharts' internal function called firePointEvent
for this:
var chart = Highcharts.chart('container', {
series: [{
type: 'column',
data: [1],
point: {
events: {
click: function() {
console.log('Click event fired');
}
}
}
}]
});
chart.series[0].points[0].firePointEvent('click');
Live demo: http://jsfiddle.net/BlackLabel/xbkwqzc5/