diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-26 17:30:52 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-07-26 17:30:52 +0300 |
commit | c0601f74100d496072cf82cab303e2e8009c62e6 (patch) | |
tree | 860f0727996de2aed9e89ad4e19e8418cfd32937 /src/components/_sila/Global/Chart.vue | |
parent | 38cd67dbd91f442b6f6adb356fc1ae5723adb443 (diff) | |
download | webui-vue-c0601f74100d496072cf82cab303e2e8009c62e6.tar.xz |
clean chart component
Diffstat (limited to 'src/components/_sila/Global/Chart.vue')
-rw-r--r-- | src/components/_sila/Global/Chart.vue | 18 |
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, }, { |