Update dolgraph.class.php
jflot can't manage more than 2 bars but can manage more than 3 lines.
This commit is contained in:
parent
d2257b9fb0
commit
4f28c3dd41
@ -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();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user