2019-10-23 15:39:16 +02:00
|
|
|
<select
|
2020-04-21 10:50:26 +02:00
|
|
|
id="selectColorblind"
|
|
|
|
name="selector"
|
|
|
|
autofocus="autofocus"
|
|
|
|
[(ngModel)]="isColorblind"
|
|
|
|
(change)="toggleColorblind()"
|
|
|
|
class="input"
|
2019-10-23 15:39:16 +02:00
|
|
|
>
|
2020-04-21 10:50:26 +02:00
|
|
|
<option value="true">
|
|
|
|
{{ 'pollGraphic.choiceColorblind' | translate }}
|
|
|
|
</option>
|
|
|
|
<option value="false">
|
|
|
|
{{ 'pollGraphic.choiceNotColorblind' | translate }}
|
|
|
|
</option>
|
2020-04-14 11:28:33 +02:00
|
|
|
</select>
|
|
|
|
<span class="colorblind">
|
2020-04-21 10:50:26 +02:00
|
|
|
{{ 'pollGraphic.colorblindText' | translate }}
|
2020-04-14 11:28:33 +02:00
|
|
|
</span>
|
|
|
|
<div class="well">
|
2020-04-21 10:50:26 +02:00
|
|
|
work in progress to link data with poll config
|
2020-04-14 11:28:33 +02:00
|
|
|
</div>
|
|
|
|
<div>
|
2020-04-21 10:50:26 +02:00
|
|
|
<canvas id="graph" width="100%" height="15em"></canvas>
|
2020-04-14 11:28:33 +02:00
|
|
|
</div>
|