Browse Source
fix(echarts): fix graphic config cannot be used in echarts options (#959)
pull/968/head
SUPER_AI
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
0 deletions
-
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; |
|
|
|
|