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
parent
commit
525484e7a4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/utils/lib/echarts.ts

2
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;

Loading…
Cancel
Save