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 46%Total: 641 All time: 4,971 This week: 129Up
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: 48
All time rank: 2963215 in Brazil Brazil
Week rank: 312 Up26 in Brazil Brazil Up

Screenshots  
  • 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  
 0%
Total:641
This week:0
All time:4,971
This week:129Up
User Ratings User Comments (2)
 All time
Utility:75%StarStarStarStar
Consistency:50%StarStarStar
Documentation:-
Examples:43%StarStarStar
Tests:-
Videos:-
Overall:46%StarStarStar
Rank:3062
 
it gives white screen, no graphics
12 years ago (synthetron)
30%StarStar
also better if it colaborated with HTML 5
12 years ago (petunia)
67%StarStarStarStar