Add extra colors for graphs

This commit is contained in:
2017-10-19 13:25:04 +02:00
parent 108bb4287f
commit 6fca776979

View File

@@ -10,7 +10,11 @@ function generateBarColor(index) {
[48, 103, 204],
[220, 56, 18],
[254, 155, 0],
[15, 147, 25]];
[15, 147, 25],
[54, 76, 121],
[118, 153, 249],
[148, 50, 123],
[85, 172, 6]];
var color = [0, 0, 0];
if (index >= 0 && index < builtin_colors.length) {
color = builtin_colors[index];