fix(echarts): fix graphic config cannot be used in echarts options (#959)

This commit is contained in:
SUPER_AI 2021-07-23 07:29:53 +08:00 committed by GitHub
parent 350c85accf
commit 525484e7a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,6 +23,7 @@ import {
VisualMapComponent, VisualMapComponent,
TimelineComponent, TimelineComponent,
CalendarComponent, CalendarComponent,
GraphicComponent,
} from 'echarts/components'; } from 'echarts/components';
import { SVGRenderer } from 'echarts/renderers'; import { SVGRenderer } from 'echarts/renderers';
@ -48,6 +49,7 @@ echarts.use([
VisualMapComponent, VisualMapComponent,
TimelineComponent, TimelineComponent,
CalendarComponent, CalendarComponent,
GraphicComponent,
]); ]);
export default echarts; export default echarts;