diff --git a/src/app/components/shared/statistic/statistic.component.ts b/src/app/components/shared/statistic/statistic.component.ts index 7b7f474738eea79d6f2989554afd91d1982ec84f..279748e5264bfce05fb615049b6dc1e96c9d31c1 100644 --- a/src/app/components/shared/statistic/statistic.component.ts +++ b/src/app/components/shared/statistic/statistic.component.ts @@ -122,6 +122,11 @@ export class StatisticComponent implements OnInit { } else { this.answerList[i].answer = content.options[i].label; } + if (i % 2 === 0) { + this.colors[i] = 'rgba(255,224,130, 1.0)'; + } else { + this.colors[i] = 'rgba(128,203,196, 1.0)'; + } if (content.options[i].points <= 0) { this.ccolors[i] = 'rgba(244,67,54, 0.8)'; } else {