Home › Forums › Chart Support › Canvas.js working in localhost but not working after upload to the Server › Reply To: Canvas.js working in localhost but not working after upload to the Server
already try this but not working
window.onload = function () { setTimeout(function () { var ctx = document.getElementById("valueChart").getContext("2d"); window.myLine = new Chart(ctx).Line(lineChartData, { responsive: true }); }, 1000); }