Monday, 21 August 2017

Solved : Chartjs Bar Chart showing old data when hovering

Here is the Solved code for Chartjs Bar Chart showing old data when hovering:

var ctxLine = document.getElementById("line-chart").getContext("2d");

if(window.bar != undefined)
window.bar.destroy();
window.bar = new Chart(ctxLine, {});

No comments:

Post a Comment

Google Map Filter Api Example

Here is Google Map Filter Api Example: