funky-framadate-front/src/app/poll-graphic/poll-graphic.component.html

30 lines
643 B
HTML
Raw Normal View History

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
>
<option value="true" >
2019-10-23 15:39:16 +02:00
{{ "pollGraphic.choiceColorblind" | translate }}
</option >
<option value="false" >
2019-10-23 15:39:16 +02:00
{{ "pollGraphic.choiceNotColorblind" | translate }}
</option >
</select >
<span class="colorblind" >
2019-11-19 14:53:53 +01:00
{{ "pollGraphic.colorblindText" | translate }}
</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