@@ -46,8 +46,8 @@ |
||
| 46 | 46 | string $color_male = null, |
| 47 | 47 | string $color_unknown = null |
| 48 | 48 | ): string { |
| 49 | - $color_female = $color_female ?? ['--sex-f-chart', '#ffd1dc']; |
|
| 50 | - $color_male = $color_male ?? ['--sex-m-chart', '#84beff']; |
|
| 49 | + $color_female = $color_female ?? ['--sex-f-chart', '#ffd1dc']; |
|
| 50 | + $color_male = $color_male ?? ['--sex-m-chart', '#84beff']; |
|
| 51 | 51 | $color_unknown = $color_unknown ?? ['--sex-u-chart', '#777777']; |
| 52 | 52 | |
| 53 | 53 | $data = [ |
@@ -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 | $data = [ |
| 52 | 52 | [ |
@@ -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 | $data = [ |
| 52 | 52 | [ |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | */ |
| 42 | 42 | public function __construct(Tree $tree) |
| 43 | 43 | { |
| 44 | - $this->tree = $tree; |
|
| 44 | + $this->tree = $tree; |
|
| 45 | 45 | } |
| 46 | 46 | |
| 47 | 47 | /** |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | int $total = 10 |
| 78 | 78 | ): string { |
| 79 | 79 | $color_from = $color_from ?? ['--chart-values-low', '#ffffff']; |
| 80 | - $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
| 80 | + $color_to = $color_to ?? ['--chart-values-high', '#84beff']; |
|
| 81 | 81 | |
| 82 | 82 | $data = [ |
| 83 | 83 | [ |
@@ -113,7 +113,7 @@ |
||
| 113 | 113 | return view('statistics/other/charts/column', [ |
| 114 | 114 | 'data' => $data, |
| 115 | 115 | 'chart_options' => $chart_options, |
| 116 | - 'chart_colors' => [ ['--chart-values-default', '#84beff'] ], |
|
| 116 | + 'chart_colors' => [['--chart-values-default', '#84beff']], |
|
| 117 | 117 | 'chart_title' => $chart_title, |
| 118 | 118 | 'language' => I18N::languageTag(), |
| 119 | 119 | ]); |
@@ -83,7 +83,7 @@ |
||
| 83 | 83 | public function chartDeath(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 | [ |
@@ -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 | [ |