SourceForge.net  |  Sunyday.net
Last release: 1.27d
a PHP Class to build Charts
pChart 2.x is born, you can start moving your script to this new version. The new website is at www.pchart.net.
Overview  |  Screenshots  |  Download  |  Add-ons  |  :: Demonstration ::  |  Support  |  Documentation
Demonstration
This page is demonstrating how to add value added charts in your web page trough a web2.0 dynamic interface. Even if it isn't the way you'll use it on your web server ( scheduled job or filled with database data ) it is a good way to see what you can expect from this library.

Select the kind of chart you want to draw and provide all the relevant data then press on the generate button. This will send asynchronously the request to draw the chart to the web server.
Sandboxes
Line / Bar charts
Pie charts
Welcome in the pie charts Sandbox!
The sandbox has been created to allow you to render some charts using the pChart library. A lot of options are missing & this demo is fixing limits ( 6 values max, can't customize the chart background & size,... ) You can also try classical charts using this other sandbox.

1. Select the kind of chart you want to render
Simple pie Explodable pie 3D pie


2. Fill-in the data serie
Build your serie by providing the value associated with each plot and its legend. To set a value, write it and click on the green + icon.




3. Render the chart
When you are ready to render your chart, please click on the following link :
Render !.

Click on the render link.


Additional Graph options
Here you can specify some more options related to the chart design. The pChart class is embeding a lot more of settings, don't hesitate to read the documentation.

Chart title :     Show the legend
Splice explosion (px) :   ( if apply to the graph type )
Splice height (px) :   ( if apply to the graph type )


pChart has been created by Jean-Damien POGOLOTTI
http://www.sunyday.net