PHP Classes
elePHPant
Icontem

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
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)
 
  Groups   Applications   Files Files  

  Groups  
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


  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 bar_graph.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.