Chart Js , loading data on selection but bar graph displaying old values as well on hovering
- 阅读更多 关于 Chart Js , loading data on selection but bar graph displaying old values as well on hovering
问题 I am trying to dynamically update the chart. I have got different values from the database via another js for name (#cellname) also there is cellname and throughput against each other in data.php (which is being called by ajax). Whenever new selection is made the below script is running fine except when i move mouse on the graph it displays old graph as well, somehow i am lacking to use the chart update function. $(document).ready(function() { function load_stats(id) { $.ajax({ url: "http:/