This is the output,
{ "elements": [{ "type": "pie", "start-angle": 35, "animate": [ { "type": "fade" }, { "type": "bounce", "distance": 4 }], "gradient-fill": true, "tip": "#val# of #total#
#percent# of 100%", "colours": ["#FF6600", "#00FF00", "#1F8FA1", "#FF0000", "#333333", "#0000FF"], "values": [{ "value": 1013663.5973206, "label": "Fuel Costs" }, { "value": 7633.7663888644, "label": "Pilot Pay" }] } ], "title": { "text": "Expenses breakdown" }, "y_axis": { }, "x_axis": { }, "bg_colour": "#FFFFFF" }
You can see by that the only data going in is the fuel cost and pilot pay.
If i do the same in the admin side its fully populates,
{ "elements": [{ "type": "pie", "start-angle": 35, "animate": [ { "type": "fade" }, { "type": "bounce", "distance": 4 }], "gradient-fill": true, "tip": "#val# of #total#
#percent# of 100%", "colours": ["#FF6600", "#00FF00", "#1F8FA1", "#FF0000", "#333333", "#0000FF"], "values": [{ "value": 1013663.5973206, "label": "Fuel Costs" }, { "value": 7633.7663888644, "label": "Pilot Pay" }, { "value": 161000, "label": "Landing Fees" }, { "value": 16100, "label": "Ramp Fees" }, { "value": 48300, "label": "Catering" }, { "value": 8050, "label": "Cleaning" }, { "value": 48300, "label": "Tug and Ground Crew" }, { "value": 114381.75, "label": "Crew Hotels" }] } ], "title": { "text": "Expenses breakdown" }, "y_axis": { }, "x_axis": { }, "bg_colour": "#FFFFFF" }