Skip to content
Snippets Groups Projects
response-chart.component.html 390 B
Newer Older
<div *ngIf="!isLoading && responseChart">
ywb16155's avatar
ywb16155 committed
    <label for="year-select">Choose a Year: </label>
    <select id="year-select" [(ngModel)]="currentYear" (change)="switchYears()" name="classes">
      <option [ngValue]="undefined" selected>Select...</option>
      <option *ngFor="let year of years" [ngValue]="year">{{year}}</option>
    </select>
  <div [chart]="responseChart"></div>
</div>