Dotted line in pdf file with IE 10

半城伤御伤魂 提交于 2019-12-02 22:07:54

问题


The graph is the same and correct on browser, Chorme, IE11, IE10, etc....

In IE 11, I press a button to create png file, the result is correct.

In IE 10, I press a button to create png file, the result is incorrect, the dotted line of graph change to solid line.

I have no idea about this problem, can anyone help me?

IE 11:
(source: 2.pik.vn)

IE 10:
(source: 2.pik.vn)

This is the code i use to convert from svg to canvas:

var svg = document.getElementById("graphP").innerHTML;   
var canvas = document.getElementById("canvas");
canvg(canvas, svg);
var imgDataP = canvas.toDataURL();

来源:https://stackoverflow.com/questions/40230693/dotted-line-in-pdf-file-with-ie-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!