I'm trying to chart data from my SQL database using flot, this is gathered using php then json encoded.
Currently looks like:
[{"month":"February","data":482},{"month":"March","data":0}]
however for flot to operate the data needs to be in the form of
[X AXIS VALUE, Y AXIS VALUE],[X AXIS VALUE, Y AXIS VALUE],[X AXIS VALUE, Y AXIS VALUE]
ETC..
How might i convert that?