diff options
author | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-29 18:10:48 +0300 |
---|---|---|
committer | Vitalii Lysak <v.lysak@dunice.net> | 2022-08-29 18:10:48 +0300 |
commit | 3c408e929edb69226d14ec2d90e83aac1cd2d843 (patch) | |
tree | 7b8426fe899b6826140baf9aa835e13bd335b04a /src/components | |
parent | 139aa7f25d88cb693e23b07641a1f59e19fdd2bb (diff) | |
download | webui-vue-3c408e929edb69226d14ec2d90e83aac1cd2d843.tar.xz |
add opened flag to chart
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/_sila/Global/Chart.vue | 6 |
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() { |