Fixing style errors.
This commit is contained in:
parent
383281e5f3
commit
fe01f35207
@ -483,7 +483,7 @@ class DolGraph
|
|||||||
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps
|
||||||
/**
|
/**
|
||||||
* 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
|
||||||
*/
|
*/
|
||||||
@ -1354,7 +1354,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