PHP Classes

Simple Histogram: Generate an image with an histogram from data

Recommend this page to a friend!

  Author Author  
Name: Pascal Toussaint <contact>
Classes: 6 packages by
Country: France France
Age: 50
All time rank: 807 in France France
Week rank: 1098 Down29 in France France Down

  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This package is meant to generate a graphic image that represents an histogram from a given set of data values in an array.

It can draw a graph of bars with the supplied values, with a specified with and height, with optional horizontal and vertical axis scales and labels and the possibility of choosing the colors of the background and the axis labels. The colors of the bars are picked by the class automatically.

The graph image is created in true color and outputted in the PNG format using the PHP GD extension.

The class generate HTML IMG tags with the SRC attribute pointing to an URL based on the current script URL that passes the necessary parameters to the class to output the image graphic in the PNG format.

  Classes of Pascal Toussaint  >  Simple Histogram  >  Download Download .zip .tar.gz  >  Support forum Support forum (2)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Simple Histogram
Base name: graph_histogram
Description: Generate an image with an histogram from data
Version: 1.0.0
PHP version: -
License: Freely Distributable
All time users: 2187 users
All time rank: 1737
Week users: 0 users
Week rank: 655 Equal
  Groups   Rate classes User ratings   Applications   Related pages   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 (71%) Sufficient (65%) - Good (81%) - - Not sure (50%) 2075
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.

  Related pages  
Test on my site
A page for testing the class

  Files folder image Files  
File Role Description
Plain text file class.graph.histogram.php Class Histogram class
Plain text file class.graph.php Class Base class for graph
Accessible without login Plain text file test_graph_histo.php Example An Exemple

Install with Composer Install with Composer - Download Download all files: graph_histogram.tar.gz
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.