Used a broader colour palette for charts

This commit is contained in:
Andy Heathershaw 2017-09-06 22:21:48 +01:00
parent 7f27921cf7
commit e9a6aff7e6

View File

@ -211,7 +211,26 @@ class StatisticsController extends Controller
private function rotateColoursForData(array $data = []) private function rotateColoursForData(array $data = [])
{ {
$colours = ['#0F2240', '#174E79', '#287598', '#46BBB5', '#35DCAD']; $colours = ["#d54d36",
"#59c669",
"#aa5ccf",
"#85b83a",
"#5f6cd9",
"#bbb248",
"#ca49a1",
"#479341",
"#d94b70",
"#52b395",
"#7b589e",
"#da8f32",
"#6e8bd0",
"#8a722c",
"#46aed7",
"#aa5839",
"#d48cca",
"#64803f",
"#a5506d",
"#e19774"];
$result = []; $result = [];
$lastIndex = 0; $lastIndex = 0;