【发布时间】:2014-03-06 21:52:22
【问题描述】:
我正在使用我在网上找到的以下代码来创建 jqplot 的图像。它在 Firefox 和 Chrome 中运行良好,但在 IE(+9) 中图像混乱。点标签和图例无处不在。
// given the div id of plot, get the img data
var imgData = $('#Barchartdiv').jqplotToImageStr({});
// create an img and add the data to it
var imgElem = $('<img/>').attr('src', imgData);
//window.open(imgData, "_blank", "scrollbars=0");
$('#img_div').append(imgElem); // append the img to the DOM
有什么帮助/建议吗?谢谢
【问题讨论】:
标签: javascript image internet-explorer rendering jqplot