Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-21-2010, 04:48 PM   PM User | #1
tspek
Regular Coder

 
Join Date: Oct 2009
Posts: 190
Thanks: 12
Thanked 2 Times in 2 Posts
tspek is an unknown quantity at this point
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.
tspek is offline   Reply With Quote
Old 01-21-2010, 06:53 PM   PM User | #2
tomws
Senior Coder

 
tomws's Avatar
 
Join Date: Nov 2007
Location: Arkansas
Posts: 2,644
Thanks: 29
Thanked 330 Times in 326 Posts
tomws will become famous soon enoughtomws will become famous soon enough
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?
tomws is offline   Reply With Quote
Old 01-21-2010, 07:01 PM   PM User | #3
hgs
New Coder

 
Join Date: Jan 2010
Location: Germany
Posts: 52
Thanks: 1
Thanked 2 Times in 2 Posts
hgs is on a distinguished road
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
hgs is offline   Reply With Quote
Old 01-21-2010, 07:15 PM   PM User | #4
tomws
Senior Coder

 
tomws's Avatar
 
Join Date: Nov 2007
Location: Arkansas
Posts: 2,644
Thanks: 29
Thanked 330 Times in 326 Posts
tomws will become famous soon enoughtomws will become famous soon enough
I can recommend jpgraph, also. It's pretty good. I've also used baaChart for a simple graph project.
__________________
Are you a Help Vampire?
tomws is offline   Reply With Quote
Old 01-21-2010, 07:54 PM   PM User | #5
tspek
Regular Coder

 
Join Date: Oct 2009
Posts: 190
Thanks: 12
Thanked 2 Times in 2 Posts
tspek is an unknown quantity at this point
Thanks for the feedback guys. I think this is going to be easier than I anticipated.
tspek is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:32 AM.


Advertisement
Log in to turn off these ads.