From 098436fa6c9d4af015394804e409ebaae865f15e Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 28 Apr 2021 18:58:59 +0800 Subject: [PATCH] =?UTF-8?q?fix(=E8=A7=86=E5=9B=BE):=20=E5=9D=90=E6=A0=87?= =?UTF-8?q?=E8=BD=B4=EF=BC=8C=E6=A0=87=E7=AD=BE=E7=AD=89=E8=87=AA=E9=80=82?= =?UTF-8?q?=E5=BA=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/chart.js | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/frontend/src/views/chart/chart/chart.js b/frontend/src/views/chart/chart/chart.js index 629f4303a8..6571d9ad5f 100644 --- a/frontend/src/views/chart/chart/chart.js +++ b/frontend/src/views/chart/chart/chart.js @@ -88,6 +88,9 @@ export const BASE_BAR = { title: { text: '' }, + grid: { + containLabel: true + }, tooltip: {}, legend: { show: true, @@ -114,6 +117,9 @@ export const HORIZONTAL_BAR = { title: { text: '' }, + grid: { + containLabel: true + }, tooltip: {}, legend: { show: true, @@ -141,6 +147,9 @@ export const BASE_LINE = { title: { text: '' }, + grid: { + containLabel: true + }, tooltip: {}, legend: { show: true, @@ -169,6 +178,9 @@ export const BASE_PIE = { title: { text: '' }, + grid: { + containLabel: true + }, tooltip: {}, legend: { show: true, @@ -199,6 +211,9 @@ export const BASE_FUNNEL = { title: { text: '' }, + grid: { + containLabel: true + }, tooltip: { trigger: 'item' }, @@ -252,6 +267,9 @@ export const BASE_RADAR = { title: { text: '' }, + grid: { + containLabel: true + }, tooltip: {}, legend: { show: true,