GChart -- A PHP Library for Drawing Charts

Bar Chart (Multiple Data Series, grouped)

<?php
define ('GChart_DIR',dirname(__FILE__).'/gchart');
require_once (GChart_DIR.'/GChart.php');

$bar_v=new GChart_Bar_V(250,150,true);
$bar_v->set_bar_width(10,3,6);
$s1=new GChart_DataSeries(array(45,60,25,25,23),'First','EABC83');
$s2=new GChart_DataSeries(array(23,36,20,42,50),'Second','FA87A6');
$bar_v->add($s1);
$bar_v->add($s2);
?>
<img src="<?php echo $bar_v->get_image_string(); ?>" />