0๐
โ
var chart = new CanvasJS.Chart("container",
{
.
.
data: [{
click: function(e){
alert( e.dataSeries.type+ ", dataPoint { x:" + e.dataPoint.x + ", y: "+ e.dataPoint.y + " }" );
},
},
]
.
.
});
chart.render();
Source:stackexchange.com