diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-19 15:56:15 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-19 15:56:15 +0300 |
commit | 016664360d400969178895774cfd896e9e78681c (patch) | |
tree | cb022a2ff030fcfb0d6e1de1a475ad72b663df24 | |
parent | 24794f83ae125ecf6f4f51c434140f51bd3fe452 (diff) | |
download | webui-vue-016664360d400969178895774cfd896e9e78681c.tar.xz |
SILABMC-270: refactor
-rw-r--r-- | src/components/_sila/Global/Chart.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/_sila/Global/Chart.vue b/src/components/_sila/Global/Chart.vue index 5c32b031..7c66cf0c 100644 --- a/src/components/_sila/Global/Chart.vue +++ b/src/components/_sila/Global/Chart.vue @@ -336,12 +336,12 @@ export default { }, async created() { - this.setChart(); this.setOptions(); + this.setChart(); }, methods: { - setChart() { + setOptions() { Highcharts.setOptions({ lang: { resetZoom: this.$t('chart.resetZoom'), @@ -349,7 +349,7 @@ export default { }); }, - setOptions() { + setChart() { switch (this.type) { case 'fans': this.categories = this.setSpeed(10000); |