Login   Register  
PHP Classes
elePHPant
Icontem

PHP gauge: Generate gauge images

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 (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2009-08-30 (5 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 646 This week: 1All time: 4,487 This week: 1,476Up
Version License PHP version Categories  
phpgauge 1.0GNU General Public Lice...4.0Graphics
Description Author  

This class can be used to generate gauge images.

It can create an image with a gauge and a pointer rendered at a given angle.

The span of rotation angle, the minimum and maximum values, and the maximum values for green and yellow areas are configurable parameters.

The gauge image is generated with a given size and is served as the current script output in the GIF, PNG or JPEG formats.

Picture of Marcel Bachus
Name: Marcel Bachus <contact>
Classes: 2 packages by
Country: The Netherlands The Netherlands
Age: 52
All time rank: 236568 in The Netherlands The Netherlands
Week rank: 1130 Up33 in The Netherlands The Netherlands Up

Screenshots  
  • example.gif
  Files folder image Files  
File Role Description
Plain text file gauge-test.php Example Test file (showing several gauges at once)
Plain text file gauge.class.php Class main class file
Plain text file gauge.php Example Gauge output file
Image file output.gif Screen Output of the gauge-test.php

 Version Control Unique User Downloads Download Rankings  
 0%Total:646All time:4,487
 This week:1This week:1,476Up