Bar chart drawing: Generate bar charts with only HTML and icon images

Recommend this page to a friend!
  Info   Screenshots   View files (19)   Download .zip   Reputation   Support forum (6)   Blog    
Ratings Unique User Downloads Download Rankings
74%Total: 7,959 All time: 215 This week: 298
Version License PHP version Categories
as-diagrams 1.00GNU General Publi...4.0HTML, Databases, Graphics
Description Author

This class can be used to generate bar chart diagrams using only HTML with CSS styles and icons images. It does not use GD or any other dynamic graphics generation library.

It takes as parameters a set of values that define each bar of the chart, a set of labels for horizontal and vertical axis legends.

It generates a bar chart using HTML tables for displaying each group of bars and also list the sample values numbers.

Additionally, it may gather sample values to generate the charts from the results of a given SQL query.

Picture of Alexander Selifonov
  Performance   Level  
Name: Alexander Selifonov is available for providing paid consulting. Contact Alexander Selifonov .
Classes: 20 packages by
Country: Russian Federation Russian Federation
Age: 58
All time rank: 522 in Russian Federation Russian Federation
Week rank: 61 6 in Russian Federation Russian Federation
Innovation award
Innovation award
Nominee: 16x

Winner: 2x

as-diagrams readme
File name:  as-diagrams.php
Class name: CAsBarDiagram
Author  :  Alexander Selifonov,
email   :  as-works [at]

Distribution type: GNU General Public License (redistribution allowed)

Short description

as-diagrams implements a PHP class CAsBarDiagram for rendering bar chart diagrams
without using graphics libraries (gd etc.)

The data for bar chart can be prepared "manually" or gathered by passing SQL queries 
to the class method GatherData().

This class if free for all kinds of using (commercial and non-commercial)

  • sample.png
  • bar-sample.png
File Role Description
img (13 files)
as-diagrams.php Class Main program module
as-diagrams.htm Doc. User manual
as-diagrams.rus.htm Doc. Manual in russian
changes.txt Doc. Changes history
readme.txt Data readme
sample.php Example using sample

  Files  /  img  
File Role Description
   bar-bg240.png Icon background image
   bar-v01.png Icon bar icon
   bar-v02.png Icon bar icon
   bar-v03.png Icon bar icon
   bar-v04.png Icon icon bar
   bar-v05.png Icon bar icon
   bar-v06.png Icon bar icon
   bar-v07.png Icon bar icon
   bar-v08.png Icon bar icon
   bar-v09.png Icon bar icon
   bar-v10.png Icon bar icon
   bar-v11.png Icon bar icon
   bar-v12.png Icon bar icon

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:215
This week:298
User Ratings User Comments (3)
 All time
Nicely made class, simple for use.
8 years ago (Frank108)
Thank You very much.
10 years ago (abhilash)
10 years ago (kishore kumar)

For more information send a message to info at phpclasses dot org.