File tree Expand file tree Collapse file tree 1 file changed +6
-8
lines changed
aquaPi/static/spa/components/dashboard Expand file tree Collapse file tree 1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -406,13 +406,13 @@ const HistoryChart = {
406
406
>
407
407
<aquapi-loading-indicator></aquapi-loading-indicator>
408
408
</div>
409
-
409
+
410
410
<div
411
411
v-else
412
-
412
+
413
413
>
414
414
<div class="d-flex justify-end px-0 py-2">
415
- <v-menu
415
+ <v-menu
416
416
offset-y
417
417
open-on-hover
418
418
>
@@ -443,7 +443,7 @@ const HistoryChart = {
443
443
</v-list-item>
444
444
</v-list>
445
445
</v-menu>
446
-
446
+
447
447
<v-btn
448
448
v-if="renderType != 'modal'"
449
449
depressed
@@ -457,7 +457,7 @@ const HistoryChart = {
457
457
<v-icon class="text-button">mdi-arrow-expand-all</v-icon>
458
458
</v-btn>
459
459
</div>
460
-
460
+
461
461
<div class="chart-container" style="position: relative; width:100%;">
462
462
<canvas :id="canvasId"></canvas>
463
463
</div>
@@ -643,14 +643,12 @@ const HistoryChart = {
643
643
}
644
644
645
645
if ( node . data_range === 'ANALOG' && node . unit != '%' ) {
646
- //this.cd.data.datasets[dsIdx].label = node.name
647
646
this . cd . data . datasets [ dsIdx ] . stepped = false
648
647
this . cd . data . datasets [ dsIdx ] . yAxisID = 'yAnalog'
649
648
}
650
649
if ( node . data_range === 'BINARY' ) {
651
- // TODO: check this:
652
650
this . cd . data . datasets [ dsIdx ] . stepped = true
653
- this . cd . data . datasets [ dsIdx ] . label = '⏻ ' + node . name
651
+ this . cd . data . datasets [ dsIdx ] . label = '⏻ ' + node . name
654
652
}
655
653
}
656
654
dsIdx ++ ;
You can’t perform that action at this time.
0 commit comments