Closed pjar closed 5 years ago
I want to use SVG renderer, which works fine when I use import IEcharts from 'vue-echarts-v3
import IEcharts from 'vue-echarts-v3
But it imports everything, which is what I wanted to avoid. But when I import echarts lite:
import IEcharts from 'vue-echarts-v3/src/lite.js import 'echarts/lib/chart/pie' import 'echarts/lib/component/tooltip'
renderer is always canvas, despite passing proper initOpts.
initOpts
How can I get SVG renderer in lite version?
OK I found out that I have to import also the following: import 'zrender/lib/svg/svg'
import 'zrender/lib/svg/svg'
Would be nice to add this in the docs ;) Anyway - thank you for this great wrapper!
I want to use SVG renderer, which works fine when I use
import IEcharts from 'vue-echarts-v3
But it imports everything, which is what I wanted to avoid. But when I import echarts lite:
renderer is always canvas, despite passing proper
initOpts
.How can I get SVG renderer in lite version?