PHP Classes

Draw stars for polls system: Draw graphical percentage bars made of star icons

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Ratings Unique User Downloads Download Rankings
StarStar 35%Total: 860 All time: 4,056 This week: 182Up
Version License Categories
drawstars 1.0GNU Lesser Genera...Graphics
Description Author

This class is meant to generate graphic percentage bars made with start icons.

It can be used to present the results of poll systems on which the generated percentage bars represent relative values of each poll choice.

The class comes in two versions: one for drawing large stars and another for small stars.

Several presentation details may be configured like the star colors the number of starts to present for 100% bars.

The class generates the star bars images in PNG format.

Picture of Nguyen Duy Quang
  Performance   Level  
Name: Nguyen Duy Quang <contact>
Classes: 3 packages by
Country: Australia Australia
Age: 41
All time rank: 6708 in Australia Australia
Week rank: 553 Up7 in Australia Australia Up

  Files folder image Files  
File Role Description
Plain text file cls.drawstars.php Class Draw large stars
Plain text file cls.drawstars2.php Class Draw small stars
Accessible without login Plain text file polls.php Example Example with large stars
Accessible without login Plain text file polls2.php Example Example with large stars

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,056
This week:182Up
User Ratings User Comments (1)
 All time
Many errors in this script
12 years ago (julien)