PHP Graphing LibraryPHPGraphLib

Lightweight PHP Graphing Library

PHPGraphLib Home | Documentation | Examples | Discussion | Download | Logos
Overview

Welcome to the PHPGraphLib project home. The goal of this project is to create a lightweight PHP-Based graphing library that creates slick graphs for incorporation into a website or application. PHPGraphLib is free to use, as long as you agree to the usage policy.

PHPGraphLib is a PHP 4.3+ friendly object-oriented class that has powerful customization features, allowing you to generate the perfect bar, line, or pie graph for any application. Best used with dynamic data, PHPGraphLib allows easy visual interpretation of sophisticated data sets. Simply feed PHPGraphLib an array of data points, and it will generate a .png image of your data. At 25kb in size, it will not slow down your scripts.

If no customizations are made, PHPGraphLib adjusts the scale and axis of the graph to fit any data, including large numbers, decimal numbers, and negative numbers.

PHPGraphLib News - PHPGraphLib 2 is now available! You can now display up to three datasets on each graph. Customized legends can also now be added to your graph. View graph examples.

Example graph created with this PHP graphing library

PHP Line Chart ExamplePHP Pie Chart Example

To start using PHPGraphLib, visit the download and documentation pages. For more on what PHPGraphLib can do, visit the examples page!

Why use PHPGraphLib
  • Slick!
  • Easy to Setup
  • Lightweight
  • Object Oriented Design
  • Error Handling
  • Supports Large Numbers, Decimals, Negative Numbers
  • Bar, line, and pie charts
  • Supports multiple datasets
  • Free!
Download the Latest

New version released on 04/14/2008. Details on Download page. Before you download, you must agree to the usage policy.

Bullet PHPGraphLib 2.02 (.zip)

Bugs, Questions, Comments?
Email me: ebrueggeman at gmail.com
PHPGraphLib Notifications

Sign up to be notified about new versions of PHPGraphLib.

Email:

Latest Discussion Posts
Ok...I solve the problem about adding more than 3 data set, ...
It may be useful the possibility to order the X values in As...
Hi, this is really a good library. Is possible to show m...
Hi Elliot, I did the following and solve the problem. /s...