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    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 72%Total: 10,301 All time: 126 This week: 114Up
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.

Picture of Diogo Resende
Name: Diogo Resende <contact>
Classes: 10 packages by
Country: Portugal Portugal
Age: 41
All time rank: 292 in Portugal Portugal
Week rank: 91 Down2 in Portugal Portugal Equal
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  
 0%
Total:10,301
This week:0
All time:126
This week:114Up
User Ratings User Comments (2)
 All time
Utility:93%StarStarStarStarStar
Consistency:90%StarStarStarStarStar
Documentation:79%StarStarStarStar
Examples:84%StarStarStarStarStar
Tests:-
Videos:-
Overall:72%StarStarStarStar
Rank:206
 
Nice
15 years ago (victor)
77%StarStarStarStar
Nice class, works super and looks good.
15 years ago (T. H.)
75%StarStarStarStar