2019-10-23 15:39:16 +02:00
|
|
|
<select
|
|
|
|
id="selectColorblind"
|
|
|
|
name="selector"
|
|
|
|
autofocus="autofocus"
|
|
|
|
[(ngModel)]="isColorblind"
|
2019-11-19 14:53:53 +01:00
|
|
|
(change)="toggleColorblind()"
|
2019-10-23 15:39:16 +02:00
|
|
|
>
|
2019-11-19 14:53:53 +01:00
|
|
|
<option value="true">
|
2019-10-23 15:39:16 +02:00
|
|
|
{{ "pollGraphic.choiceColorblind" | translate }}
|
|
|
|
</option>
|
2019-11-19 14:53:53 +01:00
|
|
|
<option value="false">
|
2019-10-23 15:39:16 +02:00
|
|
|
{{ "pollGraphic.choiceNotColorblind" | translate }}
|
|
|
|
</option>
|
|
|
|
</select>
|
2019-11-19 14:53:53 +01:00
|
|
|
{{ "pollGraphic.colorblindText" | translate }}
|
2019-11-13 18:18:42 +01:00
|
|
|
<div>
|
2019-11-18 10:19:28 +01:00
|
|
|
<canvas id="graph" width="100" height="50"></canvas>
|
2019-11-13 18:18:42 +01:00
|
|
|
</div>
|
2019-11-19 14:53:53 +01:00
|
|
|
|