From 925f99c92807f9378d361a8eda7a1aca75b372f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Mau=C3=9F?= <lukas.mauss@mni.thm.de> Date: Fri, 1 Mar 2019 16:42:18 +0100 Subject: [PATCH] Add neutral color to abstentions-bar --- src/app/components/shared/statistic/statistic.component.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/components/shared/statistic/statistic.component.ts b/src/app/components/shared/statistic/statistic.component.ts index 21ab3960a..7b7f47473 100644 --- a/src/app/components/shared/statistic/statistic.component.ts +++ b/src/app/components/shared/statistic/statistic.component.ts @@ -131,6 +131,7 @@ export class StatisticComponent implements OnInit { this.translateService.get('statistic.abstentions').subscribe(label => { this.labels.push(label); }); + this.ccolors.push('rgba(189,189,189, 0.8)') this.contentService.getAnswer(content.id).subscribe(answer => { this.data = answer.roundStatistics[0].independentCounts; this.data.push(answer.roundStatistics[0].abstentionCount); -- GitLab