In the function gStackedBarChart::setHorizontal() you have a big.
The two conditional statements should be switched around. At the moment calling
setHorizontal() actually makes the chart VERTICAL.
TO FIX.
Change this code:
if($isHorizontal){
$this -> setChartType('s', 'v');
}
else{
$this -> setChartType('s', 'h');
}
To this:
if($isHorizontal){
$this -> setChartType('s', 'h');
}
else{
$this -> setChartType('s', 'v');
}
Also, your default stacked chart type is set in the code to horizontal, but the
example gallery page suggests that it's meant to be vertical by default.
Ally
Original issue reported on code.google.com by ally.akb...@gmail.com on 15 Jun 2010 at 12:19
Original issue reported on code.google.com by
ally.akb...@gmail.com
on 15 Jun 2010 at 12:19