diff options
author | Thomas Steur <thomas.steur@googlemail.com> | 2014-09-30 09:37:32 +0400 |
---|---|---|
committer | Thomas Steur <thomas.steur@googlemail.com> | 2014-09-30 09:37:32 +0400 |
commit | a00487b0b841c4b15463b591c7f62176c4b84d15 (patch) | |
tree | 6eb893ce356a4740e044c9cdadaf84ffb2095b9d /plugins/ImageGraph | |
parent | 0edef3332289a7cbe54b58084b967907d1086d29 (diff) |
coding style fixes, some PHPStorm inspection fixes, improved readability of code, few refactorings, all as part of our code cleanup strategy
Diffstat (limited to 'plugins/ImageGraph')
-rw-r--r-- | plugins/ImageGraph/StaticGraph/GridGraph.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/ImageGraph/StaticGraph/GridGraph.php b/plugins/ImageGraph/StaticGraph/GridGraph.php index 3eeb1393db..4ffde4c2c4 100644 --- a/plugins/ImageGraph/StaticGraph/GridGraph.php +++ b/plugins/ImageGraph/StaticGraph/GridGraph.php @@ -419,11 +419,11 @@ abstract class GridGraph extends StaticGraph // see https://github.com/piwik/piwik/issues/3396 // protected function displayMinMaxValues() // { -// if($displayMinMax) +// if ($displayMinMax) // { // // when plotting multiple metrics, display min & max on both series // // to fix: in vertical bars, labels are hidden when multiple metrics are plotted, hence the restriction on count($this->ordinateSeries) == 1 -// if($this->multipleMetrics && count($this->ordinateSeries) == 1) +// if ($this->multipleMetrics && count($this->ordinateSeries) == 1) // { // $colorIndex = 1; // foreach($this->ordinateSeries as $column => $data) @@ -467,13 +467,13 @@ abstract class GridGraph extends StaticGraph // $maxValueIndex = 0; // foreach($data as $index => $value) // { -// if($value > $maxValue) +// if ($value > $maxValue) // { // $maxValue = $value; // $maxValueIndex = $index; // } // -// if($value < $minValue) +// if ($value < $minValue) // { // $minValue = $value; // $minValueIndex = $index; |