issue #0001585 : Prise en compte des tubes

This commit is contained in:
Michael RICOIS 2013-06-06 08:06:04 +00:00
parent 36b5d93b02
commit e871adbc69

View File

@ -606,7 +606,7 @@ class RapportComment
$barLayer = $c->addBarLayer2(Side);
$barLayer->setBorderColor(Transparent, softLighting(Left));
for ( $i = 0; $i < $nbRatio ; $i++ ){
if ( $dataInfos[$i]['style'] == 'H' ){
if ( $dataInfos[$i]['style'] == 'H' || $dataInfos[$i]['style'] == 'T' ){
$barLayer->addDataSet($valuesY[$i], $couleurs[$i], $dataInfos[$i]['titre']);
} else if ( $dataInfos[$i]['style'] == 'L' ){
$dataSetObj = $lineLayer->addDataSet($valuesY[$i], $couleurs[$i], $dataInfos[$i]['titre']);