Login   Register  
PHP Classes
elePHPant
Icontem

Bar Graphics: Generate bar charts using only HTML tables

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-07-01 (9 years ago) RSS 2.0 feedStarStarStarStar 69%Total: 2,223 All time: 1,626 This week: 1,516Up
Version License Categories  
bargraphics 1.0BSD LicenseHTML, PHP 5, Graphics
Description Author  

This class can generate bar charts from a given set of values.

The class provides means to define the label, value and color of each bar.

The bars are drawn using HTML tables with different color values.

The size of the bars is displayed in proportion to the largest bar by setting the relative width of the table cells.

This way the class does not need to use dynamically generated images to represent the bars.

The presentation of the chart details can be configured using CSS styles.

Picture of Emmanuel Arana Corzo
Name: Emmanuel Arana Corzo <contact>
Classes: 2 packages by
Country: Mexico Mexico
Age: 31
All time rank: 98211 in Mexico Mexico
Week rank: 1067 Down13 in Mexico Mexico Down

Screenshots  
  • screenGrafico.jpg
  Files folder image Files  
File Role Description
Plain text file barGraphics.class.php Class This is the class, with an example
Plain text file testGraphs.php Example This is an example of use of the API

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,223All time:1,626
 This week:0This week:1,516Up
 User Ratings  
 
 All time
Utility:100%StarStarStarStarStarStar
Consistency:95%StarStarStarStarStar
Documentation:-
Examples:100%StarStarStarStarStarStar
Tests:-
Videos:-
Overall:69%StarStarStarStar
Rank:224