zuozuozuosuccess opened a new issue, #20362:
URL: https://github.com/apache/echarts/issues/20362

   ### Version
   
   5.5.1
   
   ### Link to Minimal Reproduction
   
     let picInfo = chartInstance.getDataURL({             type: 'svg',          
   pixelRatio: 1.5, // 放大两倍下载。解决生成图片在移动端模糊问题             backgroundColor: 
'#fff',             excludeComponents: ['toolbox'], 
   
   ### Steps to Reproduce
   
   1. 初始化echarts实例对象
   2. 调用实例化对象的方法例如chartObject.getDataURL()
   3. 点击按钮下载该echarts的svg格式图片
   4. 出现getDataURL undefined,有时候可以拿到数据有时候又是undefined,不知道内部执行顺序什么样的
   
   ### Current Behavior
   
   1. 想要点击按钮生成该echarts的svg格式图片
   2. 但是调用getDataURL()出现了undefined
   3. 而且是没有规律的出现,时而能拿到数据,时而undefined
   
   ### Expected Behavior
   
   1. 想要点击按钮生成该echarts的svg格式图片
   2. 但是调用getDataURL()可以正常下载svg格式图片
   
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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.

To unsubscribe, e-mail: [email protected]

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