Page 1 of 1

Need a tutorial on creating line graphs or a line graph clas

Posted: Thu Nov 13, 2003 9:30 am
by infolock
hello. i'm looking for a good tuturial on creating line graphs with GD 2.0. Currently, I found one on phpbuilder, but it deals with GD 1.0, and it doesn't really tell you how to make the base graph correctly. I need, however, a better explaination on how to create the base graph and what not. If anyone has a good tutorial link, or knows of a php script out there that does line graphs with GD and has very good instructions on how to use it (instead of this does this, now figure the rest out on your own ).


If there isn't such a tutorial, no big deal, I guess i'll just spend a few more days on this one subject. Thanks :) 8O

Posted: Thu Nov 13, 2003 10:02 am
by infolock
well, i stand corrected ( i think ). I found one on phpbuilder that seems to be what i needed ( reason i said i couldn't find one on phpbuilder was i had read through 2 of them, and thought those were the only 2 they offered. Boy was I satisfiedly wrong! )

In case anyone else is interested in this subject, here is a GREAT ( again, at least I think cuz i'm not at home to try this ) link.

http://www.phpbuilder.com/columns/wiese ... 01218.php3

when i get home and try it out, i'll let ya know how it does.

Have you tried jpGraph library?

Posted: Thu Nov 13, 2003 12:12 pm
by php_passerby
Depending on what you want to do, jpGraph (http://www.aditus.nu/jpgraph/) could more than fulfill your needs.

It provides a lot of very sophisticated, yet easy to use business graphic alternatives (...even Gantt charts). And there is a forum specifically for jpGraph users with a lot of code examples.

I first found out about it through one of the Tutorial in the Zend site.

Good luck

Posted: Thu Nov 13, 2003 2:46 pm
by infolock
thanks man, i'll look into it. mostly i was just wanting to learn how to generate the graphs, but if i can actually work with a nicely designed graph and this it's all the better.

cheers