summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorMaksim Zakharov <m.zakharov@IBS.RU>2022-08-29 10:40:15 +0300
committerMaksim Zakharov <m.zakharov@IBS.RU>2022-08-29 10:40:15 +0300
commit0a53c67244f5bf2f791bfc88984e802bd97392c2 (patch)
tree21fd4b1effbeeda503475465a848a832a6f60874 /src/components
parent10f5207c77b16b46f637f77520964c82226d27fb (diff)
downloadwebui-vue-0a53c67244f5bf2f791bfc88984e802bd97392c2.tar.xz
add charts animation, fix datepicker form
Diffstat (limited to 'src/components')
-rw-r--r--src/components/_sila/Global/Chart.vue2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/components/_sila/Global/Chart.vue b/src/components/_sila/Global/Chart.vue
index f6c389f8..4cfef554 100644
--- a/src/components/_sila/Global/Chart.vue
+++ b/src/components/_sila/Global/Chart.vue
@@ -131,6 +131,7 @@ export default {
margin: [52, 50, 32, 60],
height: '360px',
zoomType: 'xy',
+ animation: true,
resetZoomButton: {
position: {
x: 0,
@@ -361,6 +362,7 @@ export default {
},
setCategories(count, desc) {
const arr = [...new Array(count)].map((i, k) => `${k} ${desc}`);
+ console.log(arr);
return arr;
},
setSpeed(count) {