Results 1 to 2 of 2
Oct 29, 2012, 08:10 #1
- Join Date
- Dec 2007
- 0 Post(s)
- 0 Thread(s)
Example of PHP array that will generate Flot chart
I need to create chart using Flot chart library, using PHP JSON functions (ie. json_encode).
Problem is that I don't understand structure of PHP array that have to be encoded to create proper JS array for generating Flot charts.
Chart needs to have several lines, with different colors.
Can somebody help me with some example of proper PHP array for this kind.
Thank you in advance!