From f1f2f56d8c5bbba03a9dc16678f75fa0a0a06eb3 Mon Sep 17 00:00:00 2001 From: chiayin Date: Thu, 18 May 2023 11:55:41 +0800 Subject: [PATCH] Discover: SidebarFilter Trace fix BarChart Option. --- src/components/Discover/Filter/Timeframes.vue | 8 ++------ src/components/Discover/Filter/Trace.vue | 7 +++++-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/Discover/Filter/Timeframes.vue b/src/components/Discover/Filter/Timeframes.vue index db21f0e..12e629f 100644 --- a/src/components/Discover/Filter/Timeframes.vue +++ b/src/components/Discover/Filter/Timeframes.vue @@ -129,10 +129,7 @@ export default{ color: '#0f172a', }, grid: { - // drawOnChartArea: false, // 隱藏 x 軸網格 - display: false, - // drawBorder: false, - // drawTicks: false, + display: false, // 隱藏 x 軸網格 }, }, y: { @@ -144,11 +141,10 @@ export default{ }, grid: { color: 'rgba(100,116,139)', - drawBorder: false, z: 1, }, border: { - display: false, + display: false, // 隱藏左側多出來的線 } }, }, diff --git a/src/components/Discover/Filter/Trace.vue b/src/components/Discover/Filter/Trace.vue index a3b079c..867901e 100644 --- a/src/components/Discover/Filter/Trace.vue +++ b/src/components/Discover/Filter/Trace.vue @@ -161,8 +161,11 @@ export default { stepSize: (this.traceList[0].ratio)/4, }, grid: { - color: 'rgba(148,163,184)', - drawBorder: false + color: 'rgba(100,116,139)', + z: 1, + }, + border: { + display: false, // 隱藏左側多出來的線 } } }