Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    Regular Coder
    Join Date
    Oct 2009
    Posts
    190
    Thanks
    12
    Thanked 2 Times in 2 Posts

    Drawing Graph based on DB information

    I'd like to be able for my users to select a set of data (saved in a database, related to their profile) and have a statistical graph of this selected data be drawn. Ideally, I would then like them to be able to link to this image that would change depending on changes in the data set (not in real-time obviously...that is, not as an animation).

    I'm not entirely sure how to go about this but my inclination is to think that this would primarily a situation in which I should utilize AJAX.

    Any input would be appreciated.

  • #2
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    No need for ajax at all. You can just use a php drawing/charting library or class to generate the image.
    Are you a Help Vampire?

  • #3
    hgs
    hgs is offline
    New Coder
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    81
    Thanks
    3
    Thanked 5 Times in 5 Posts
    For the graphics part have a look at http://www.aditus.nu/jpgraph/

    With this you can created imagemaps to use for drill down etc etc.

    Regards

  • #4
    Senior Coder tomws's Avatar
    Join Date
    Nov 2007
    Location
    Arkansas
    Posts
    2,644
    Thanks
    29
    Thanked 330 Times in 326 Posts
    I can recommend jpgraph, also. It's pretty good. I've also used baaChart for a simple graph project.
    Are you a Help Vampire?

  • #5
    Regular Coder
    Join Date
    Oct 2009
    Posts
    190
    Thanks
    12
    Thanked 2 Times in 2 Posts
    Thanks for the feedback guys. I think this is going to be easier than I anticipated.


  •  

    Posting Permissions

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