Merge remote-tracking branch 'origin/feature/3-analytics-dashboard' into feature/3-analytics-dashboard

This commit is contained in:
Andy Heathershaw 2017-09-10 15:49:45 +01:00
commit c72c4cc45c

View File

@ -211,7 +211,26 @@ class StatisticsController extends Controller
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 = [];
$lastIndex = 0;