xixihappy commented on issue #12680:
URL: 
https://github.com/apache/incubator-echarts/issues/12680#issuecomment-633363311


   你好 我用的是 var echarts = require('echarts/lib/echarts');
   require('echarts/lib/chart/pie');
   require('echarts/lib/component/tooltip');
   require('echarts/lib/component/title');
   require("echarts/lib/component/legend");
   
   
   
   这种方式的按需加载 不是加载echart.min.js 整个文件
   按需加载 饼图什么的不报错
   但是折线图就报包找不到了  只能全引入才可以
   
   
   ------------------ 原始邮件 ------------------
   发件人:&nbsp;"echarts-bot[bot]"<[email protected]&gt;;
   发送时间:&nbsp;2020年5月22日(星期五) 中午11:29
   
收件人:&nbsp;"apache/incubator-echarts"<[email protected]&gt;;
   抄送:&nbsp;"胡志芳"<[email protected]&gt;;"Mention"<[email protected]&gt;;
   主题:&nbsp;Re: [apache/incubator-echarts] echarts 按需加载折线图报错 SymbolDraw is not 
a constructor (#12680)
   
   
   
   
   
    
   @xixihappy Please provide a demo for the issue either with 
https://codepen.io/Ovilia/pen/dyYWXWM or 
https://gallery.echartsjs.com/editor.html.
    
   —
   You are receiving this because you were mentioned.
   Reply to this email directly, view it on GitHub, or unsubscribe.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to