Home forums Using CanvasJS 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

#25304

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);

}