Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/image/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Javascript 使用.jqplotToImageStr({})的JQplot图像:IE(+;9)中的渲染问题_Javascript_Image_Internet Explorer_Rendering_Jqplot - Fatal编程技术网

Javascript 使用.jqplotToImageStr({})的JQplot图像:IE(+;9)中的渲染问题

Javascript 使用.jqplotToImageStr({})的JQplot图像:IE(+;9)中的渲染问题,javascript,image,internet-explorer,rendering,jqplot,Javascript,Image,Internet Explorer,Rendering,Jqplot,我正在使用我在网上找到的以下代码来创建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/>')

我正在使用我在网上找到的以下代码来创建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
//给定plot的div id,获取img数据
var imgData=$('#Barchartdiv').jqplotToImageStr({});
//创建img并将数据添加到其中
var imgElem=$('

有任何帮助/建议吗?谢谢

我不确定您的图例,但我在这里解决了我的点标签问题: