From 525484e7a409b032d22231f90a92e700ef4290ae Mon Sep 17 00:00:00 2001 From: SUPER_AI <1095705440@qq.com> Date: Fri, 23 Jul 2021 07:29:53 +0800 Subject: [PATCH] fix(echarts): fix graphic config cannot be used in echarts options (#959) --- src/utils/lib/echarts.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/utils/lib/echarts.ts b/src/utils/lib/echarts.ts index a52f48b85bb..1b9f27309c8 100644 --- a/src/utils/lib/echarts.ts +++ b/src/utils/lib/echarts.ts @@ -23,6 +23,7 @@ import { VisualMapComponent, TimelineComponent, CalendarComponent, + GraphicComponent, } from 'echarts/components'; import { SVGRenderer } from 'echarts/renderers'; @@ -48,6 +49,7 @@ echarts.use([ VisualMapComponent, TimelineComponent, CalendarComponent, + GraphicComponent, ]); export default echarts;