Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Zend Developer Zone:
Dynamically Creating Graphs and Charts with PHP and GDChart
Aug 14, 2008 @ 15:12:58

The Zend Developer Zone has a new tutorial posted today (from Vikram Vaswani) that focuses on making charts and graphs with the help of the GDChart extension for PHP.

This extension, which is freely available from PECL, can significantly reduce the amount of work involved in dynamically generating graphical representations of numerical data at run-time. Over the next few pages, I'll introduce you to this extension, illustrating its important features and showing you just how easy it is to get your Friday evening back.

The tutorial shows how to get and install the extension as well as including a few usage examples - a simple charting of values (with the different chart types defined), comparing more than one set of data, changing the aesthetics of the output and a detailed look at a few of the chart types' output.

tagged: chart gdchart extension pecl graph tutorial