I am creating one Pie with gradient fill Chart from Highcharts using json,php and mysql query.Debug through firebug console but no errors and also graph not display.I creating a static graph [link] http://jsfiddle.net/sunman/YKE2P/10/ like this i want to create this with dynamic with json and mysql.Here is my problem my json data not generate graph.Below is my code.My json data displays like :
So request you to please help where is my code is wrong. I want link this type of graph but with dynamic.I am unaware of json code . So Kindly request to you suggest me of question.
Solution
The problem is here:
$.getJSON("data.php", function(json) {
options.series.push(data);
chart = new Highcharts.Chart(options);
});
You are adding new series, which has some strange format.. I advice to use that instead: