diff options
-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); |