Creates simple bar graphs with HTML and CSS.
There are many tools that generate images (png, gif, ...) or require JavaScript. This class generates a bar graph with pure HTML and CSS.
<?php
require_once("SimpleBars.php");
$graph = new SimpleBars();
$graph
->setTitle("Example")
->setData(array(14, 6, 26));
echo $graph->render();
For more examples and help see example.php
and inline documentation.
Sven Karsten Greiner
GNU General Public License, version 3 or later