score:1

suppose we want to change the y value of x-label 'march' from 40 to 50. first change the first dataset's value of 'march' to be 50. now calling update function animates the position of 'march' from 40 to 50.

mynewchart.datasets[0].points[2].value = 50;   //change the value  
mynewchart.update();   //update the chart

Related Query

More Query from same tag