Articles: 843 | Categories: 148   
   
   
Home Articles Contact Us
 
 
 
 
JpGraph (0 Comments)
Admin: Posted Date: April 4, 2010

JpGraph is a Object-Oriented Graph creating library for PHP >= 4.3.1 The library can be used to create numerous types of graphs either on-line or written to a file. JpGraph makes it easy to draw both "quick and dirty" graphs with a minimum of code.

What is JpGraph?

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).

The library can be used to create numerous types of graphs either on-line or written to a file. JpGraph makes it easy to draw both "quick and dirty" graphs with a minimum of code as well as complex graphs which requires a very fine grained control. The library assigns context sensitive default values for most of the parameters which minimizes the learning curve. The features are there when you need them - not as an obstacle to overcome!
 

Example with gradients

 
Example-thumb-images
Figure 1 : A few (thumbnail) examples of graphs created with the library.
 

In the documentation there are also several case studies on how to make use of the library to solve more complex tasks, some examples available are

                                  

  • Critical chain buffer penetration charts
  • Generation off-line spam statistics
  • (Pro-version) Generation USPS Confirmation Barcodes

 

Features of JpGraph

The following is a shortlist of available features within the library. Further information about the features by following the links below.

  • 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.
  • ... (and many, many more)

 

 
 
Add a Comment:
 
(You must be signed in to comment on an article. Not a member? Click here to register)
   
Title:

Comments: