SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2010
    Posts
    82
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    JQuery Flot Charts+MySQL

    Hello.


    I've never used a charts in web developing , so I need some help in this case.

    My site is totally non-flash , so I decided that Flot Charts is really a good idea.
    After reading some of examples and sources ...

    examples - http://people.iola.dk/olau/flot/examples/
    sources - http://code.google.com/p/flot/

    I have no idea how to mix it with php and single sql query.
    ( Charts based on data from MySQL)

    If someone , could help me with this , will be appreciated.

  2. #2
    SitePoint Enthusiast
    Join Date
    Apr 2009
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    To me it looks like the example is using a multidimensional array containing x,y values for each data item. So if you can spit this information out into a javascript array then your 90% of the way there.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •