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
pChart - a PHP class to build charts
pChart is a PHP class oriented framework designed to create aliased charts. Most of todays chart libraries have a cost, our project is intended to be free. Data can be retrieved from SQL queries, CSV files, or manually provided. This project is still under development and new features or fix are made every week.

Focus has been put on rendering quality introducing an aliasing algorithm to draw eye candy graphics. Rendering speed has been dramatically enhanced since the first version, we'll still continue optimising the code!

To run pChart on your web server, you'll need to use PHP compiled with the GD library support.


Last updates / new features
 09.19.08
Version 1.27c is out! Introducing some fixes on the 1.27 tree. We've also (at least) introduced support for scatter line and plots. Thanks for your support!

 08.21.08
Version 1.27b is out! This time we've introduced background customisation, image map creation, transparent text area and much more! It is now possible to create high quality graphics.

 08.08.08
Version 1.27 is out! This release is introducing error handling, some fixes and something heavily requested : supporting missing points.

You now have the ability to customize the X and Y axis specifying captions and data type. The automatic scaling algorythm has been enhanced to build human readable scales when possible.

 07.21.08
Tons of small things have been fixed thanks to you! Bug reporting & feature requests are a good way to improve pChart and you're using it.

We'll still focus on enhancing this library making it faster & smoother!

 07.01.08
Some bugs reported from the tracker and related to pie charts have been fixed. Introducing flat pie charts.


pCache - Compute once, display many times!
Saving web server speed and CPU is something that matter to us. We've created the pCache class to help you dealing with the fact that a chart can be computed once and displayed many times by different users. The pCache class can be used to simplify server side cache management. In green, the normal process : retrieve data, compute and display, in orange the cost saving path, retrieve the data, check if we have already computed it and display it!


Charting live data
Following graph is refreshed every hour retrieving data from the SourceForge.net project statistics page. The generation of this chart is made trough a scheduled task using the cron daemon. You can find more information on how to planify chart drawing by going in the help.


 
Documentation
The documentation is trying to explain how to use, adapt and bring to production pChart scripts. Exemples are covering basic usage or highlighting specific features, we invite you to try by yourself. If you can't find any solution to your issues in this documentation, please use the sourceforge forums.

Before thinking doing graphics you must understand the Data Structure used by the pChart library. You'll find all the informations here. To help you dealing with your data transformation we've made the pData.class. The use of this class is up to you, if you feel comfortable dealing with array you can skip it.

See the documentation


Be notified!
Sourceforge is offering a service to monitor when package are updated, this is a great way to be notified everytime a new release of pChart is available. To activate this functionality click on the following link :

Stay informed!


Bug reporting
Please use the reporting interface provided by sourceforge to track down issues and request additional features. We need a single point of reporting to be able to provide a quality oriented service. We're waiting for your feedback to bring this library highter. Reporting bugs is an important way to contribute to this project! Thanks in advance!

Bring me to the support!


Licensing
The pChart library and all of its files are released under the GNU General Public License that you can read here. The GPL license allow you to use, modify, redistribute the pChart class into all GPL licensed products.


Are you using it?
If you are using pChart on one of your public web site or embeded in one of your application, please, drop us a note! It's always welcome ( and encouraging! ) to see that what we are doing here has a foot in the real world. Put the URL of your application bellow :


Remember: We're free, we need to be motivated! You are our motivation..


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