Merge branch 'develop#1' of github.com:Hystepik/dolibarr into develop#1
This commit is contained in:
commit
d69e36c110
@ -477,7 +477,7 @@ class DolGraph
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Mirror Values of the graph
|
* Mirror Values of the graph
|
||||||
*
|
*
|
||||||
* @param boolean $mirrorGraphValues Mirror Values if true and doesn't if false
|
* @param boolean $mirrorGraphValues Mirror Values if true and doesn't if false
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
@ -1348,7 +1348,7 @@ class DolGraph
|
|||||||
$this->stringtoshow .= 'backgroundColor: \'' . $color . '\', ';
|
$this->stringtoshow .= 'backgroundColor: \'' . $color . '\', ';
|
||||||
if ($arrayofgroupslegend[$i]) $this->stringtoshow .= 'stack: \'' . $arrayofgroupslegend[$i]['stacknum'] . '\', ';
|
if ($arrayofgroupslegend[$i]) $this->stringtoshow .= 'stack: \'' . $arrayofgroupslegend[$i]['stacknum'] . '\', ';
|
||||||
$this->stringtoshow .= 'data: [';
|
$this->stringtoshow .= 'data: [';
|
||||||
|
|
||||||
$this->stringtoshow .= $this->mirrorGraphValues ? '[' . -$serie[$i] . ',' . $serie[$i] . ']' : $serie[$i];
|
$this->stringtoshow .= $this->mirrorGraphValues ? '[' . -$serie[$i] . ',' . $serie[$i] . ']' : $serie[$i];
|
||||||
$this->stringtoshow .= ']';
|
$this->stringtoshow .= ']';
|
||||||
$this->stringtoshow .= '}' . "\n";
|
$this->stringtoshow .= '}' . "\n";
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user