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

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

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

Post 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
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post 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.
User avatar
php_passerby
Forum Newbie
Posts: 6
Joined: Fri Oct 03, 2003 9:41 am
Location: El Salvador

Have you tried jpGraph library?

Post 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
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post 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
Post Reply