@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | $chart_color1 = (string) $this->theme->parameter('distribution-chart-no-values'); |
| 70 | 70 | $chart_color2 = (string) $this->theme->parameter('distribution-chart-high-values'); |
| 71 | 71 | $color_from = $color_from ?? $chart_color1; |
| 72 | - $color_to = $color_to ?? $chart_color2; |
|
| 72 | + $color_to = $color_to ?? $chart_color2; |
|
| 73 | 73 | |
| 74 | 74 | $tot = 0; |
| 75 | 75 | foreach ($given as $count) { |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | ]; |
| 85 | 85 | |
| 86 | 86 | foreach ($given as $name => $count) { |
| 87 | - $data[] = [ $name, $count ]; |
|
| 87 | + $data[] = [$name, $count]; |
|
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | $data[] = [ |
@@ -128,7 +128,7 @@ |
||
| 128 | 128 | $chart_color1 = (string) $this->theme->parameter('distribution-chart-no-values'); |
| 129 | 129 | $chart_color2 = (string) $this->theme->parameter('distribution-chart-high-values'); |
| 130 | 130 | $color_from = $color_from ?? $chart_color1; |
| 131 | - $color_to = $color_to ?? $chart_color2; |
|
| 131 | + $color_to = $color_to ?? $chart_color2; |
|
| 132 | 132 | |
| 133 | 133 | $tot = 0; |
| 134 | 134 | foreach ($all_surnames as $surn => $surnames) { |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | $chart_color1 = (string) $this->theme->parameter('distribution-chart-no-values'); |
| 102 | 102 | $chart_color2 = (string) $this->theme->parameter('distribution-chart-high-values'); |
| 103 | 103 | $color_from = $color_from ?? $chart_color1; |
| 104 | - $color_to = $color_to ?? $chart_color2; |
|
| 104 | + $color_to = $color_to ?? $chart_color2; |
|
| 105 | 105 | |
| 106 | 106 | $data = [ |
| 107 | 107 | [ |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | $chart_color1 = (string) $this->theme->parameter('distribution-chart-no-values'); |
| 102 | 102 | $chart_color2 = (string) $this->theme->parameter('distribution-chart-high-values'); |
| 103 | 103 | $color_from = $color_from ?? $chart_color1; |
| 104 | - $color_to = $color_to ?? $chart_color2; |
|
| 104 | + $color_to = $color_to ?? $chart_color2; |
|
| 105 | 105 | |
| 106 | 106 | $data = [ |
| 107 | 107 | [ |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | $chart_color1 = (string) $this->theme->parameter('distribution-chart-no-values'); |
| 102 | 102 | $chart_color2 = (string) $this->theme->parameter('distribution-chart-high-values'); |
| 103 | 103 | $color_from = $color_from ?? $chart_color1; |
| 104 | - $color_to = $color_to ?? $chart_color2; |
|
| 104 | + $color_to = $color_to ?? $chart_color2; |
|
| 105 | 105 | |
| 106 | 106 | $data = [ |
| 107 | 107 | [ |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | $chart_color1 = (string) $this->theme->parameter('distribution-chart-no-values'); |
| 102 | 102 | $chart_color2 = (string) $this->theme->parameter('distribution-chart-high-values'); |
| 103 | 103 | $color_from = $color_from ?? $chart_color1; |
| 104 | - $color_to = $color_to ?? $chart_color2; |
|
| 104 | + $color_to = $color_to ?? $chart_color2; |
|
| 105 | 105 | |
| 106 | 106 | $data = [ |
| 107 | 107 | [ |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | $chart_color1 = (string) $this->theme->parameter('distribution-chart-no-values'); |
| 102 | 102 | $chart_color2 = (string) $this->theme->parameter('distribution-chart-high-values'); |
| 103 | 103 | $color_from = $color_from ?? $chart_color1; |
| 104 | - $color_to = $color_to ?? $chart_color2; |
|
| 104 | + $color_to = $color_to ?? $chart_color2; |
|
| 105 | 105 | |
| 106 | 106 | $data = [ |
| 107 | 107 | [ |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | $chart_color1 = (string) $this->theme->parameter('distribution-chart-no-values'); |
| 102 | 102 | $chart_color2 = (string) $this->theme->parameter('distribution-chart-high-values'); |
| 103 | 103 | $color_from = $color_from ?? $chart_color1; |
| 104 | - $color_to = $color_to ?? $chart_color2; |
|
| 104 | + $color_to = $color_to ?? $chart_color2; |
|
| 105 | 105 | |
| 106 | 106 | $data = [ |
| 107 | 107 | [ |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | $chart_color1 = (string) $this->theme->parameter('distribution-chart-no-values'); |
| 102 | 102 | $chart_color2 = (string) $this->theme->parameter('distribution-chart-high-values'); |
| 103 | 103 | $color_from = $color_from ?? $chart_color1; |
| 104 | - $color_to = $color_to ?? $chart_color2; |
|
| 104 | + $color_to = $color_to ?? $chart_color2; |
|
| 105 | 105 | |
| 106 | 106 | $data = [ |
| 107 | 107 | [ |