Click to See Complete Forum and Search --> : Drawing a Graph on Webpage


DaveinLondon
08-01-2004, 04:31 AM
Hi all,
I am taking data out of my mySQL using php and I want to draw a grph with the data and output it onto the webpage.

Any ideas on how I would go abot this ?
I have seen graphs and charts on some websites but not many. Can it be done dynamincally ?

Nevermore
08-01-2004, 05:59 AM
Try using JPGraph - http://www.aditus.nu/jpgraph/index.php

ShrineDesigns
08-01-2004, 12:27 PM
a bar graph would be easier to script versus a pie chart

Nevermore
08-01-2004, 12:33 PM
Originally posted by ShrineDesigns
a bar graph would be easier to script versus a pie chart

If you write all the code yourself, that's true, but using JPGraph you can do either easily, since all you do is feed ready made functions the arguments they need.