Login   Register  
PHP Classes
elePHPant
Icontem

Gauge: Draw a gauge graphic like the cars fuel indicator

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-05 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,793 This week: 1All time: 2,037 This week: 1,141Up
Version License Categories  
gauge 1.0Public DomainGraphics, Content management
Description Author  

This class can draw a graphic of a circular gauge like the cars fuel gauge with a pointer that indicates the current position of a given parameter value relative to given scale.

By default it uses a scale from 0% to 100% and draws a red arc at 50% a yellow arc at 80% and a green arc at 100%. It is also posible to show a small legend in the gauge.

Currently it generates a PNG image with the fixed size of 100 x 100 points.

Picture of Roberto Martinez
Name: Roberto Martinez <contact>
Classes: 4 packages by
Country: Mexico Mexico
Age: 46
All time rank: 2743 in Mexico Mexico
Week rank: 458 Down6 in Mexico Mexico Down

Screenshots  
  • gauge.png
  Files folder image Files  
File Role Description
Plain text file gauge.class.php Class Gauge Class
Plain text file gauge.php Example Example

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,793All time:2,037
 This week:1This week:1,141Up