Differentiated colours for new category splits.

This commit is contained in:
neviyn 2018-10-16 16:27:55 +01:00
parent d94c1b2559
commit f1041ca4b4

View File

@ -171,12 +171,12 @@ class Controller {
labels = dates,
datasets = listOf(
ChartDataset("Monitoring", "#F90", groupedData.map { it.monitoring }),
ChartDataset("Control Procedural", "#3F0", groupedData.map { it.controlProcedural }),
ChartDataset("Control", "#3F0", groupedData.map { it.control }),
ChartDataset("Control Procedural", "#32CD32", groupedData.map { it.controlProcedural }),
ChartDataset("Control", "#00FF00", groupedData.map { it.control }),
ChartDataset("Conservatism", "#33F", groupedData.map { it.conservatism }),
ChartDataset("Teamwork Communication", "#FF0", groupedData.map { it.teamworkCommunications }),
ChartDataset("Teamwork Leadership", "#FF0", groupedData.map { it.teamworkLeadership }),
ChartDataset("Teamwork Workload", "#FF0", groupedData.map { it.teamworkWorkload }),
ChartDataset("Teamwork Leadership", "#FFD700", groupedData.map { it.teamworkLeadership }),
ChartDataset("Teamwork Workload", "#EEE8AA", groupedData.map { it.teamworkWorkload }),
ChartDataset("Knowledge", "#000", groupedData.map { it.knowledge })
)
)