Skip to content

Commit

Permalink
fix(echarts): fix graphic config cannot be used in echarts options (#959
Browse files Browse the repository at this point in the history
)
  • Loading branch information
init-center authored Jul 22, 2021
1 parent 350c85a commit 525484e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/lib/echarts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import {
VisualMapComponent,
TimelineComponent,
CalendarComponent,
GraphicComponent,
} from 'echarts/components';

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

export default echarts;

0 comments on commit 525484e

Please sign in to comment.