@@ -83,7 +83,7 @@ |
||
83 | 83 | public function chartBirth(string $color_from = null, string $color_to = null): string |
84 | 84 | { |
85 | 85 | $color_from = $color_from ?? ['--chart-values-low', '#ffffff']; |
86 | - $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
86 | + $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
87 | 87 | |
88 | 88 | $data = [ |
89 | 89 | [ |
@@ -45,7 +45,7 @@ |
||
45 | 45 | string $color_to = null |
46 | 46 | ): string { |
47 | 47 | $color_from = $color_from ?? ['--chart-values-low', '#ffffff']; |
48 | - $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
48 | + $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
49 | 49 | |
50 | 50 | $data = [ |
51 | 51 | [ |
@@ -83,7 +83,7 @@ |
||
83 | 83 | public function chartMarriage(string $color_from = null, string $color_to = null): string |
84 | 84 | { |
85 | 85 | $color_from = $color_from ?? ['--chart-values-low', '#ffffff']; |
86 | - $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
86 | + $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
87 | 87 | |
88 | 88 | $data = [ |
89 | 89 | [ |
@@ -137,7 +137,7 @@ |
||
137 | 137 | return view('statistics/other/charts/column', [ |
138 | 138 | 'data' => $data, |
139 | 139 | 'chart_options' => $chart_options, |
140 | - 'chart_colors' => [ ['--chart-values-default', '#84beff'] ], |
|
140 | + 'chart_colors' => [['--chart-values-default', '#84beff']], |
|
141 | 141 | 'chart_title' => $chart_title, |
142 | 142 | 'language' => I18N::languageTag(), |
143 | 143 | ]); |
@@ -46,7 +46,7 @@ |
||
46 | 46 | string $color_to = null |
47 | 47 | ): string { |
48 | 48 | $color_from = $color_from ?? ['--chart-values-low', '#ffffff']; |
49 | - $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
49 | + $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
50 | 50 | |
51 | 51 | $tot = 0; |
52 | 52 | foreach ($given as $count) { |
@@ -46,7 +46,7 @@ |
||
46 | 46 | string $color_dead = null |
47 | 47 | ): string { |
48 | 48 | $color_living = $color_living ?? ['--chart-values-low', '#ffffff']; |
49 | - $color_dead = $color_dead ?? ['--chart-values-high', '#84beff']; |
|
49 | + $color_dead = $color_dead ?? ['--chart-values-high', '#84beff']; |
|
50 | 50 | |
51 | 51 | $data = [ |
52 | 52 | [ |
@@ -83,7 +83,7 @@ |
||
83 | 83 | public function chartDivorce(string $color_from = null, string $color_to = null): string |
84 | 84 | { |
85 | 85 | $color_from = $color_from ?? ['--chart-values-low', '#ffffff']; |
86 | - $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
86 | + $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
87 | 87 | |
88 | 88 | $data = [ |
89 | 89 | [ |
@@ -110,7 +110,7 @@ |
||
110 | 110 | string $color_to = null |
111 | 111 | ): string { |
112 | 112 | $color_from = $color_from ?? ['--chart-values-low', '#ffffff']; |
113 | - $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
113 | + $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
114 | 114 | |
115 | 115 | $tot = 0; |
116 | 116 | foreach ($all_surnames as $surnames) { |