PHP Classes

Bar Graph generator: Generates bar graphs from file definitions

Recommend this page to a friend!
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2004-07-20 (15 years ago) RSS 2.0 feedStarStarStarStar 72%Total: 10,270 All time: 126 This week: 340Down
Version License Categories
bargraph 1.0The PHP LicenseGraphics, Statistics
Description Author

This class is meant to generate bar graphs defined either programatically calling the class functions or using definition file to specify the graph characteristics.

The graph definitions file structure is very simple and so it is probably a better way to create graphics on the fly.

It supports axis background or border color, title text and color, graph background color, bars background and border colors, padding distances, etc.. Transparent background and transparency levels for the entire image are also supported.

The bar graph images are generated in true color in PNG format.

Name: Diogo Resende <contact>
Classes: 10 packages by
Country: Portugal Portugal
Age: 36
All time rank: 282 in Portugal Portugal
Week rank: 200 Down5 in Portugal Portugal Down
Innovation award
Innovation award
Nominee: 4x

Winner: 2x


  Files folder image Files  
File Role Description
Accessible without login HTML file bargraph.html Doc. Simple Documentation
Plain text file class.bargraph.php Class BarGraph Class
Accessible without login Plain text file graph.def Data Example of a definition file
Accessible without login Plain text file index.php Example Another example not using any definition file
Accessible without login Plain text file loaddefinition.php Example Example of how to load de definition file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:126
This week:340Down
User Ratings User Comments (2)
 All time
10 years ago (victor)
Nice class, works super and looks good.
11 years ago (T. H.)