Fixing style errors.

This commit is contained in:
stickler-ci 2020-12-10 10:07:09 +00:00
parent ecd642e465
commit 38e03778dc

View File

@ -1142,7 +1142,6 @@ class DolGraph
$this->stringtoshow .= 'scales: { xAxes: [{ '; $this->stringtoshow .= 'scales: { xAxes: [{ ';
if ($isfunnel) { if ($isfunnel) {
$this->stringtoshow .= ' ticks: { beginAtZero: true}, display: false,'; $this->stringtoshow .= ' ticks: { beginAtZero: true}, display: false,';
} }
//$this->stringtoshow .= 'type: \'time\', '; // Need Moment.js //$this->stringtoshow .= 'type: \'time\', '; // Need Moment.js
$this->stringtoshow .= 'distribution: \'linear\''; $this->stringtoshow .= 'distribution: \'linear\'';
@ -1280,7 +1279,6 @@ class DolGraph
$this->stringtoshow .='data: ['; $this->stringtoshow .='data: [';
if ($isfunnel){ if ($isfunnel){
$this->stringtoshow .= '['.-$serie[$i].','.$serie[$i].']'; $this->stringtoshow .= '['.-$serie[$i].','.$serie[$i].']';
}else { }else {
$this->stringtoshow .= $serie[$i]; $this->stringtoshow .= $serie[$i];
} }