2024-09-17 06:50:34 +00:00
|
|
|
<div class="container-graph">
|
2024-09-27 03:34:34 +00:00
|
|
|
<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>
|
2024-09-17 06:50:34 +00:00
|
|
|
</div>
|
|
|
|
|
<canvas id="myChart"></canvas>
|