If you want to add graph to your web application and do bot know how to implement, use JpGraph. JpGraph is a feature-rich PHP library for creating beautiful charts. This library supports almost any graph haps inclduing bar, line, pie, scatter, radar, field, stock and much more.
JpGraph has built-in images for plot marks including 3D rendered markers like diamonds, squares, bevels, balls and pins. In addition to the “normal” plots JpGraph also support the easy creation of Anti-Spam images.
Latest version of the library supports in-built themes. Users can change the look and feel of the graphs with the help of these themes.
If you are looking to use this library for commercial purpose, you need to acquire the professional license. This applies only in the case you are using this library on the website to provide a service for paying customers.
Requirements: PHP 5.1.0+ and GD library
License: QPL 1.0 (Qt Free License), free to be used in non-commercial, open-source or educational projects.