PHP Classes

Velocimeter: Render a rotating arrow over a gauge meter

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (15)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 50%Total: 638 All time: 4,962 This week: 152Up
Version License PHP version Categories
velocimeter 1.0GNU General Publi...5.0PHP 5, Graphics
Description Author

This class can render a rotating arrow over a gauge meter.

It can draw a gauge meter with an arrow rotated by an angle calculated according to meter value and the meter initial and end angles.

The class can also draw a panel cover image on top of the meter and arrow images.

The resulting image can be displayed as the current script output or saved to a file in PNG format.

The panel background, arrow and cover images are configurable.

The code and comments are in Portuguese.

Picture of valmirez
Name: valmirez <contact>
Classes: 1 package by
Country: Brazil Brazil
Age: 46
All time rank: 2935215 in Brazil Brazil
Week rank: 534 Up34 in Brazil Brazil Up

  • screen1.jpg
  Files folder image Files  
File Role Description
Image file capa7.png Photo front cover sample
Plain text file class_velocimetro.php Class Main Class
Plain text file demo.php Aux. demo script
Image file fnd.png Photo background sample
Image file fundo4.png Photo background sample
Image file fundo7.png Photo background sample
Image file fundo9.png Photo background sample
Plain text file g1.php Example example 1
Plain text file g2.php Example Example 2
Plain text file g3.php Example Example 3
Plain text file g4.php Example Example 4
Image file seta4.png Photo arrow sample
Image file seta6.png Photo arrow sample
Image file seta7.png Photo arrow sample
Image file seta9.png Photo arrow sample

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,962
This week:152Up
User Ratings User Comments (2)
 All time
it gives white screen, no graphics
10 years ago (synthetron)
also better if it colaborated with HTML 5
10 years ago (petunia)
For more information send a message to info at phpclasses dot org.