JpGraph is a feature-rich PHP library for creating good looking charts. JpGraph is a Object-Oriented Graph creating library for PHP >= 5.1 The library is completely written in PHP and ready to be used in any PHP scripts (both CGI/APXS/CLI versions of PHP are supported).
It has support for almost any chart type including bar, line, pie, scatter, radar, field, stock and much more.
Some of the charts have the option to be created in 3D and they are all web-friendly (usually 2-3 kb).
The library is very flexible, any number of plots can be drawn in every chart, objects can be rotated, etc.
JpGraph has built-in images for plot marks including 3D rendered markers like diamonds, squares, bevels, balls and pins.
And, a very original feature, it has a pre-defined function to create flags for 200+ countries.
To sum up, the library is really an impressive one and it is free to be used in non-commercial, open-source or educational projects.
JpGraph Sample View:
Features of JpGraph:
- Web-friendly, average image size for a 300*200 image is around 2K and images are seldomly bigger than 4-5K
- Automatic generation of client side image maps to make it possible to generate drill-down graphs.
- Advanced interpolation with cubic splines to get smooth curves from just a few data points.
- Supports several plot types,spider-plots, pie-charts (both 2d and 3d) , scatter-plots, line-plots, filled line-plots, accumulated line-plots, bar plots, accumulated bar plots, grouped bar plots, error plots, line error plots, box plots, stock plots
- Support for alpha blending
- Has over 200+ built in Country flags
- Supports advanced Gantt-charts
- Flexible scales, supports integer, linear, logarithmic, text (counting) scales and any combinatino thereof on x/y axis
- Supports multiple Y-axes
- Support various layout with a background image behind the plot
- More than 400 named colors
- Extensive documentation with both a > 750 pages tutorial and an extensive class reference.
- Supports internal caching (with timeout) of generated graphs to lessen burden of a HTTP server.
Requirements: PHP 4.3+ and GD library
Website: http://jpgraph.net/
Demo: http://jpgraph.net/features/gallery.php
Download: http://jpgraph.net/download/