Home Forums Chart Support Help with Dynamic chart, please !!! Reply To: Help with Dynamic chart, please !!!

#10585

cool1,

Replacing your updateChart with below would render the chart.

var updateChart = function() {
    $.getJSON("selected_product.php", function(result) {
        var data = {
            dataPoints: result
        };
        chart.options.data.push(data);
        chart.render();
    });
};
  • This reply was modified 7 years, 11 months ago by Sanjoy.