PHP Classes

Bar Graph: Dynamically created bar graph

Recommend this page to a friend!

  Author Author  
Picture of Scott Mattocks
Name: Scott Mattocks <contact>
Classes: 4 packages by
Country: United States United States
Age: 43
All time rank: 12214 in United States United States
Week rank: 560 Down72 in United States United States Down
Innovation award
Innovation award
Nominee: 1x

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class creates a PNG image bar graph for inclusion in HTML pages.

The graph can display one or more data sets in user defined colors. The font size, font color background color, spacing between sets of bars, labels, and y-axis tick marks are all set by the user.

To use the class you first need to collect some information, such as the data, labels and the image dimensions. While the thickness and height of the bars will adjust to fit your image, the text will not.

After creating the image you can set many of the features.

  Classes of Scott Mattocks  >  Bar Graph  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Bar Graph
Base name: bar_graph
Description: Dynamically created bar graph
Version: 1.0.0
PHP version: -
License: GNU General Public License (GPL)
All time users: 6075 users
All time rank: 371
Week users: 0 users
Week rank: 221 Equal
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Graphics Colors, images, charts and picture formats View top rated classes
Group folder image Statistics Collecting, processing and reporting statistical data View top rated classes

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (75%) Sufficient (70%) - Sufficient (70%) - - Not sure (51%) 2238
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  Files folder image Files  
File Role Description
Plain text file bar_graph.class Class PHP class file
Accessible without login Plain text file bar_graph.html Example Sample output
Accessible without login Plain text file bar_graph_test.php Example Usage script

Install with Composer Install with Composer - Download Download all files: bar_graph.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.
For more information send a message to info at phpclasses dot org.