From 51a6bc4fe18c58c43e7f1b7eb3b5a6e6f6509f5f Mon Sep 17 00:00:00 2001 From: syuilo Date: Thu, 17 Jan 2019 17:54:25 +0900 Subject: [PATCH] [Client] Fix chart rendering --- src/client/app/admin/views/charts.vue | 2 +- src/client/app/common/views/components/drive-settings.vue | 3 +-- src/client/app/desktop/views/pages/deck/deck.user-column.vue | 3 +-- src/client/app/mobile/views/components/activity.vue | 3 +-- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/client/app/admin/views/charts.vue b/src/client/app/admin/views/charts.vue index 04cf9512cf..2100cc288b 100644 --- a/src/client/app/admin/views/charts.vue +++ b/src/client/app/admin/views/charts.vue @@ -189,7 +189,7 @@ export default Vue.extend({ }, legend: { labels: { - color: tinycolor(getComputedStyle(document.documentElement).getPropertyValue('--text')).toRgbString() + colors: tinycolor(getComputedStyle(document.documentElement).getPropertyValue('--text')).toRgbString() }, }, xaxis: { diff --git a/src/client/app/common/views/components/drive-settings.vue b/src/client/app/common/views/components/drive-settings.vue index a173810f68..0bd0ed2fb4 100644 --- a/src/client/app/common/views/components/drive-settings.vue +++ b/src/client/app/common/views/components/drive-settings.vue @@ -93,8 +93,7 @@ export default Vue.extend({ }, plotOptions: { bar: { - columnWidth: '90%', - endingShape: 'rounded' + columnWidth: '90%' } }, grid: { diff --git a/src/client/app/desktop/views/pages/deck/deck.user-column.vue b/src/client/app/desktop/views/pages/deck/deck.user-column.vue index c2132450ca..b52c41394b 100644 --- a/src/client/app/desktop/views/pages/deck/deck.user-column.vue +++ b/src/client/app/desktop/views/pages/deck/deck.user-column.vue @@ -223,8 +223,7 @@ export default Vue.extend({ }, plotOptions: { bar: { - columnWidth: '90%', - endingShape: 'rounded' + columnWidth: '90%' } }, grid: { diff --git a/src/client/app/mobile/views/components/activity.vue b/src/client/app/mobile/views/components/activity.vue index 18bff253de..7a574dc684 100644 --- a/src/client/app/mobile/views/components/activity.vue +++ b/src/client/app/mobile/views/components/activity.vue @@ -59,8 +59,7 @@ export default Vue.extend({ }, plotOptions: { bar: { - columnWidth: '90%', - endingShape: 'rounded' + columnWidth: '90%' } }, grid: {