Hi,
Data Click event is not working in IE (edge) but it is works fine in Google Chrome.
The points 0.38,0.29,0.17 in the below sample has issue.
Sample:
var chart = new CanvasJS.Chart(“chartContainer”, {
title:{
text: “Plotting Interval Issue in CanvasJS”
},
axisY:{
minimum: 0,
maximum: 200,
interval: 50
},
data: [
{
// Change type to “doughnut”, “line”, “splineArea”, etc.
type: “column”,
click: function (e) {
alert(e.dataPoint[“y”]);
},
cursor: “pointer”,
dataPoints: [
{ label: “A”, y: 170.22 },
{ label: “B”, y: 5.12 },
{ label: “C”, y: 2.84 },
{ label: “D”, y: 2.40 },
{ label: “E”, y: 2.38 },
{ label: “F”, y: 2.24 },
{ label: “G”, y: 2.12 },
{ label: “H”, y: 1.71 },
{ label: “I”, y: 1.65 },
{ label: “J”, y: 1.51 },
{ label: “K”, y: 0.99 },
{ label: “L”, y: 0.97 },
{ label: “M”, y: 0.84 },
{ label: “N”, y: 0.69 },
{ label: “O”, y: 0.59 },
{ label: “P”, y: 0.38 },
{ label: “Q”, y: 0.29 },
{ label: “R”, y: 0.17 }
]
}
]
});
chart.render();