summaryrefslogtreecommitdiff
path: root/src/components/_sila/Global/Chart.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/_sila/Global/Chart.vue')
-rw-r--r--src/components/_sila/Global/Chart.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/_sila/Global/Chart.vue b/src/components/_sila/Global/Chart.vue
index f09d676f..2d335636 100644
--- a/src/components/_sila/Global/Chart.vue
+++ b/src/components/_sila/Global/Chart.vue
@@ -1,5 +1,5 @@
<template>
- <highcharts :options="chartOptions" />
+ <highcharts v-if="opened" :options="chartOptions" />
</template>
<script>
@@ -43,6 +43,10 @@ export default {
type: Boolean,
default: false,
},
+ opened: {
+ type: Boolean,
+ default: true,
+ },
},
computed: {
readyData() {