<div class="container-graph">
  <select class="form-select" id="sensorSelect" (change)="onSensorChange($event)">
    <option value="dht">DHT</option>
    <option value="npk1">NPK 1</option>
    <option value="npk2">NPK 2</option>
  </select>
  <select class="form-select" id="parameterSelect" (change)="updateChart()">
    <option *ngFor="let parameter of parameters" [value]="parameter">{{ parameter }}</option>
  </select>  
</div>

<div *ngIf="isLoading" class="loading">
  Loading...
</div>

<canvas #myChart id="myChart"></canvas>


