Commit 525484e7a409b032d22231f90a92e700ef4290ae
Committed by
GitHub
1 parent
350c85ac
fix(echarts): fix graphic config cannot be used in echarts options (#959)
Showing
1 changed file
with
2 additions
and
0 deletions
src/utils/lib/echarts.ts
... | ... | @@ -23,6 +23,7 @@ import { |
23 | 23 | VisualMapComponent, |
24 | 24 | TimelineComponent, |
25 | 25 | CalendarComponent, |
26 | + GraphicComponent, | |
26 | 27 | } from 'echarts/components'; |
27 | 28 | |
28 | 29 | import { SVGRenderer } from 'echarts/renderers'; |
... | ... | @@ -48,6 +49,7 @@ echarts.use([ |
48 | 49 | VisualMapComponent, |
49 | 50 | TimelineComponent, |
50 | 51 | CalendarComponent, |
52 | + GraphicComponent, | |
51 | 53 | ]); |
52 | 54 | |
53 | 55 | export default echarts; |
... | ... |