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 9 years, 1 month ago by
Sanjoy.