PHPHacks.com Posts Creating charts with JPGraph
p. Those code maniacs over at phphacks.com are at it again. This time they’ve posted a very nice “HOWTO on using JPGraph”:http://www.phphacks.com/content/view/50/33/. Like all good tutorials it has some good sample code to cut and paste with. But I’m getting ahead of myself. First, let’s take a quick look at the opening paragraph.
bq. JPGraph is an Object Oriented graph library, which can help you to draw graphs. The real advantage in using JPGraph is its simplicity. Creating a graph at runtime may sound complex! But JPGraph class has been designed in such a way that they hide the complex part from the user. Few lines of coding can create amazing graphs, which you can never think of. The first step would be to download the JPGraph include files. This can be found at (http://www.aditus.nu/jpgraph/).Extract all the contents to a folder and put it in a safe place. We will refer these libraries whenever needed.
p. Now let’s talk about the sample code. It’s there and it’s good. They give you a complete working sample to play with and then walk you through what it does. They go long on the “How” without skimping on the “Why”.
p. If you need to put graphs on your page you have several options. We covered “another one”:http://devzone.zend.com/article/970 earlier. As with Chris’ tutorial on PHP/SWF this tutorial give you everything you need to get the job done and know why it works.
p. =C=
p.
p.
p.
p.
p.
p.
p.
p.
p.
p.

