Merge pull request #943 from defrance69/patch-7

Update dolgraph.class.php
This commit is contained in:
Laurent Destailleur 2013-05-13 15:41:36 -07:00
commit ea4b324e25

View File

@ -745,7 +745,8 @@ class DolGraph
$legends=array(); $legends=array();
$nblot=count($this->data[0])-1; // -1 to remove legend $nblot=count($this->data[0])-1; // -1 to remove legend
$firstlot=0; $firstlot=0;
if ($nblot > 2) $firstlot = ($nblot - 2); // We limit nblot to 2 because jflot can't manage more than 2 bars on same x // work with line but not with bars
//if ($nblot > 2) $firstlot = ($nblot - 2); // We limit nblot to 2 because jflot can't manage more than 2 bars on same x
$i=$firstlot; $i=$firstlot;
$serie=array(); $serie=array();