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()"
|
2020-01-16 10:20:15 +01:00
|
|
|
class="input"
|
2019-10-23 15:39:16 +02:00
|
|
|
>
|
2020-01-16 16:25:40 +01:00
|
|
|
<option value="true" >
|
2019-10-23 15:39:16 +02:00
|
|
|
{{ "pollGraphic.choiceColorblind" | translate }}
|
2020-01-16 16:25:40 +01:00
|
|
|
</option >
|
|
|
|
<option value="false" >
|
2019-10-23 15:39:16 +02:00
|
|
|
{{ "pollGraphic.choiceNotColorblind" | translate }}
|
2020-01-16 16:25:40 +01:00
|
|
|
</option >
|
|
|
|
</select >
|
|
|
|
<span class="colorblind" >
|
2019-11-19 14:53:53 +01:00
|
|
|
{{ "pollGraphic.colorblindText" | translate }}
|
2020-01-16 16:25:40 +01:00
|
|
|
</span >
|
|
|
|
<div class='well' >
|
|
|
|
work in progress to link data with poll config
|
|
|
|
</div >
|
|
|
|
<div >
|
|
|
|
<canvas
|
|
|
|
id="graph"
|
|
|
|
width="100%"
|
|
|
|
height="15em" ></canvas >
|
|
|
|
</div >
|
|
|
|
|
2019-11-19 14:53:53 +01:00
|
|
|
|