Home › Forums › Chart Support › Get Max y Value › Reply To: Get Max y Value
nikunj,
You can use click event handler for adding indexLabel to dataPoint that is clicked. Please check the code snippet below –
function onClick(e){ e.dataPoint.indexLabel = "Y: " + e.dataPoint.y; e.chart.render(); }
Also, kindly check this JSFiddle for adding indexLabel on clicking specific dataPoint.
___________ Indranil Deo Team CanvasJS