PHP Classes

PHP Dial Gauge: Generate an image of a dial gauge

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 2,437 This week: 1All time: 1,594 This week: 560Up
Version License PHP version Categories
phpdialgauge 1.0Freeware5.2PHP 5, Graphics
Description 

Author

This class can be used to generate images of a dial gauge.

It generates an image of a dial gauge with a needle pointer rotated to a given value between the minimum and maximum angle.

Optionally, it can also display the current value that the needle is pointing.

The resulting image is served as the current script output in the transparent GIF or PNG formats.

Innovation Award
PHP Programming Innovation award nominee
August 2007
Number 4


Prize: One copy of the Zend Studio
Gauges are often used in panels of cars and other machines to give the user an idea of the level of something that is being measured, like for instance the speed of a car or the available fuel level.

This class uses the same metaphor to represent the level of something that is being measured by a PHP script by the means of a dynamically generated graphic image of a gauge and a pointer meter of the current level.

Manuel Lemos
Picture of Stephen P
Name: Stephen P <contact>
Classes: 2 packages by
Country: United States United States
Age: 39
All time rank: 55671 in United States United States
Week rank: 416 Up46 in United States United States Up
Innovation award
Innovation award
Nominee: 1x

Screenshots  
  • screenshot
  Files folder image Files  
File Role Description
Image file blank.png Photo required image
Plain text file example.php Example example script
Image file gauge_blank.png Photo required image
Image file gauge_needle.png Photo required image
Plain text file phpdial_gauge.php Class phpdial_gauge class file

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,437
This week:1
All time:1,594
This week:560Up
User Ratings User Comments (1)
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:86%StarStarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:795
 
great class
16 years ago (jason)
70%StarStarStarStar