-
SitePoint Enthusiast
Example of PHP array that will generate Flot chart
Hello,
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!
-
SitePoint Zealot

What information do you need to be stored in the array?
Is this of any help?
http://stackoverflow.com/questions/1...ate-flot-graph
Last edited by RichardAskew; Oct 29, 2012 at 09:45.
Reason: Added link
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks