I\'ve just started working with Chart.js, and I am getting very frustrated very quickly. I have my stacked bar chart working, but I can\'t get the click \"events\" to work.<
Hi this is the click event under options which is getting values from x and y-axis
onClick: function(c,i) { e = i[0]; console.log(e._index) var x_value = this.data.labels[e._index]; var y_value = this.data.datasets[0].data[e._index]; console.log(x_value); console.log(y_value); }