From c0601f74100d496072cf82cab303e2e8009c62e6 Mon Sep 17 00:00:00 2001 From: Vitalii Lysak Date: Tue, 26 Jul 2022 17:30:52 +0300 Subject: clean chart component --- src/components/_sila/Global/Chart.vue | 18 +++++++++--------- 1 file 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, }, { -- cgit v1.2.3