PHP Classes

Bar Chart: Draw bar charts

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 2,060 All time: 1,905 This week: 455Up
Version License PHP version Categories
chart 1.3Free for non-comm...5PHP 5, Graphics
Description 

Author

This class can be used to draw bar charts.

It renders an image of a given size drawing several bars with different colors and heights.

The width of each bar is adjusted according to the total number of bars and chart image width.

The bars may be displayed in reverse order of their heights.

The chart image is generated in GIF format and may be saved to a server side file or served as the current script output.

Picture of Jon Gjengset
Name: Jon Gjengset is available for providing paid consulting. Contact Jon Gjengset .
Classes: 10 packages by
Country: Norway Norway
Age: 34
All time rank: 2301 in Norway Norway
Week rank: 164 Up1 in Norway Norway Equal
Innovation award
Innovation award
Nominee: 3x

Screenshots (1)  
  • script.in.action.jpeg
  Files folder image Files (3)  
File Role Description
Plain text file chart.class.php Class The class itself
Plain text file chart.example.php Example BarChart example

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,060
This week:0
All time:1,905
This week:455Up