summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitalii Lysak <v.lysak@dunice.net>2022-07-26 17:30:52 +0300
committerVitalii Lysak <v.lysak@dunice.net>2022-07-26 17:30:52 +0300
commitc0601f74100d496072cf82cab303e2e8009c62e6 (patch)
tree860f0727996de2aed9e89ad4e19e8418cfd32937
parent38cd67dbd91f442b6f6adb356fc1ae5723adb443 (diff)
downloadwebui-vue-c0601f74100d496072cf82cab303e2e8009c62e6.tar.xz
clean chart component
-rw-r--r--src/components/_sila/Global/Chart.vue18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/components/_sila/Global/Chart.vue b/src/components/_sila/Global/Chart.vue
index 9910b6ce..58350a46 100644
--- a/src/components/_sila/Global/Chart.vue
+++ b/src/components/_sila/Global/Chart.vue
@@ -24,23 +24,23 @@ export default {
},
timeScale: {
type: String,
- default: 'hour',
+ default: null,
},
warning: {
type: Number,
- default: 70,
+ default: null,
},
shutdown: {
type: Number,
- default: 3150,
+ default: null,
},
- nonNormal: {
+ notNormal: {
type: Number,
- default: 70,
+ default: null,
},
critical: {
type: Number,
- default: 70,
+ default: null,
},
},
data() {
@@ -213,7 +213,7 @@ export default {
{
color: '#F0AC0C1A',
dashStyle: 'solid',
- from: this.nonNormal,
+ from: this.notNormal,
to: this.critical,
},
{
@@ -232,7 +232,7 @@ export default {
{
color: '#F0AC0C1A',
dashStyle: 'solid',
- from: this.nonNormal,
+ from: this.notNormal,
to: this.critical,
},
{
@@ -251,7 +251,7 @@ export default {
{
color: '#F0AC0C1A',
dashStyle: 'solid',
- from: this.nonNormal,
+ from: this.notNormal,
to: this.critical,
},
{