PHP Classes

PHP gauge: Generate gauge images

Recommend this page to a friend!
  Info   Screenshots   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 710 All time: 4,641 This week: 63Up
Version License PHP version Categories
phpgauge 1.0GNU General Publi...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: 63
All time rank: 252765 in The Netherlands The Netherlands
Week rank: 164 Up5 in The Netherlands The Netherlands Up

Screenshots (1)  
  • example.gif
  Files folder image Files (5)  
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

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:710
This week:0
All time:4,641
This week:63Up