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 8 years, 9 months ago by
Sanjoy.