I'm trying to use JpGraph to generate bar charts but the result is pretty ugly.


$bplot = new BarPlot($xdata);   
$bplot2 = new BarPlot($ydata);  
$accbplot = new AccBarPlot(array($bplot, $bplot2));  
Could you suggest some other library or am I sumply using the tool wrong? The snippet I try is taken from
How to Create Graphs Using JpGraph in PHP Applications