From e2c36324b3c660ff1476cf8a807011a1c89184e1 Mon Sep 17 00:00:00 2001 From: Amy0104 <97265214+Amy0104@users.noreply.github.com> Date: Thu, 7 Apr 2022 17:35:17 +0800 Subject: [PATCH] [Fix][UI Next][V1.0.0-Alpha] Add light color theme to echarts. (#9381) --- dolphinscheduler-ui-next/src/components/chart/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dolphinscheduler-ui-next/src/components/chart/index.ts b/dolphinscheduler-ui-next/src/components/chart/index.ts index 3522e76341..9edd075537 100644 --- a/dolphinscheduler-ui-next/src/components/chart/index.ts +++ b/dolphinscheduler-ui-next/src/components/chart/index.ts @@ -38,7 +38,7 @@ function initChart( const init = () => { chart = globalProperties?.echarts.init( domRef.value, - themeStore.darkTheme && 'dark-bold' + themeStore.darkTheme ? 'dark-bold' : 'macarons' ) chart && chart.setOption(option) }