How To Trigger HighCharts Click Event 

In my previous post i have shown you how to add click event in google charts.In this post we will see how  to trigger click event on high charts.

chart: {
    type: 'column',
    events: {
        click: function () {
            alert('chart clicked');
        }            
    }
}
by the above code we can add a click event.In this function you can even add a ajax
call and navigate to another page as you requirement
You can see the sample in JS fiddel editor 
 
https://jsfiddle.net/anushach/highchart/click_event/ 

No comments:

Post a Comment