From 7ee8e0769199ca0c7d558f5df33fcd3fe997998d Mon Sep 17 00:00:00 2001 From: junjie Date: Wed, 19 May 2021 16:42:39 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E8=A7=86=E5=9B=BE):=E8=A7=86=E5=9B=BEtitl?= =?UTF-8?q?e=20fix?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/views/chart/chart/chart.js | 35 ++++++++++++++++++++----- 1 file changed, 28 insertions(+), 7 deletions(-) diff --git a/frontend/src/views/chart/chart/chart.js b/frontend/src/views/chart/chart/chart.js index 819d0c471c..ca21d59ea3 100644 --- a/frontend/src/views/chart/chart/chart.js +++ b/frontend/src/views/chart/chart/chart.js @@ -98,7 +98,10 @@ export const DEFAULT_BACKGROUND_COLOR = { // chart config export const BASE_BAR = { title: { - text: '' + text: '', + textStyle: { + fontWeight: 'normal' + } }, // grid: { // containLabel: true @@ -127,7 +130,10 @@ export const BASE_BAR = { } export const HORIZONTAL_BAR = { title: { - text: '' + text: '', + textStyle: { + fontWeight: 'normal' + } }, // grid: { // containLabel: true @@ -157,7 +163,10 @@ export const HORIZONTAL_BAR = { export const BASE_LINE = { title: { - text: '' + text: '', + textStyle: { + fontWeight: 'normal' + } }, // grid: { // containLabel: true @@ -188,7 +197,10 @@ export const BASE_LINE = { export const BASE_PIE = { title: { - text: '' + text: '', + textStyle: { + fontWeight: 'normal' + } }, // grid: { // containLabel: true @@ -221,7 +233,10 @@ export const BASE_PIE = { export const BASE_FUNNEL = { title: { - text: '' + text: '', + textStyle: { + fontWeight: 'normal' + } }, // grid: { // containLabel: true @@ -277,7 +292,10 @@ export const BASE_FUNNEL = { export const BASE_RADAR = { title: { - text: '' + text: '', + textStyle: { + fontWeight: 'normal' + } }, // grid: { // containLabel: true @@ -312,7 +330,10 @@ export const BASE_RADAR = { export const BASE_GAUGE = { title: { - text: '' + text: '', + textStyle: { + fontWeight: 'normal' + } }, // grid: { // containLabel: true