From ef89e7371cbc8a6e51779fb4546f3f4c5a89fdfa Mon Sep 17 00:00:00 2001 From: "Captain.B" Date: Wed, 23 Sep 2020 18:49:27 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95):=20?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=80=A7=E8=83=BD=E6=B5=8B=E8=AF=95=E5=9B=BE?= =?UTF-8?q?=E8=A1=A8=E4=B8=8A=E7=9A=84legend=20=E5=A4=AA=E5=A4=9A=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit 80e5b2c4f5a07d1ee62bcb7de4951591d13ed882) --- frontend/src/business/components/common/chart/MsChart.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/frontend/src/business/components/common/chart/MsChart.vue b/frontend/src/business/components/common/chart/MsChart.vue index 1d42f3f736..4e0cc67f95 100644 --- a/frontend/src/business/components/common/chart/MsChart.vue +++ b/frontend/src/business/components/common/chart/MsChart.vue @@ -29,9 +29,10 @@ export default { mounted() { this.defaultInitOptions = this.defaultInitOptions || {}; // 默认渲染svg - if (!this.defaultInitOptions.renderer) { - this.defaultInitOptions.renderer = 'svg'; - } + // BUG: 渲染svg之后 图上的legend 太多会不显示 + // if (!this.defaultInitOptions.renderer) { + // this.defaultInitOptions.renderer = 'svg'; + // } } }