leijue commented on issue #9340: 导出到excel上是报错
URL: 
https://github.com/apache/incubator-echarts/issues/9340#issuecomment-436096783
 
 
   > 请给出更详细的复现信息
   
   $('#export').click(function () {
        var imagesBase64 = lineFault.getDataURL('png');
        $.ajax({
                url: getRootPath() + '/device/DeviceFaultInfo/export',
                type: 'POST',
                data: {
                        'imagesBase64': imagesBase64
                },
                success: function () {
                        alert('导出成功');
                },
                error: function () {
                        alert('导出失败');
                }
        });
   });
   
   var imagesBase64 = lineFault.getDataURL('png'); 
   这里会报Cannot create property 'pixelRatio' on string 'png'的错误

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to