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