Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/javascript/369.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

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/82.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 画布不适用于IE7-10_Javascript_Jquery_Ajax_Html_Canvas - Fatal编程技术网

Javascript 画布不适用于IE7-10

Javascript 画布不适用于IE7-10,javascript,jquery,ajax,html,canvas,Javascript,Jquery,Ajax,Html,Canvas,我有一页可以在画布上画一些图表 我使用Ajax在Json文件中获取数据,将它们放入数组并在画布中绘制 它可以在Chrome、Firefox、IE11上运行,但不能在低于11的IE上运行,即使我包含了excanvas.js 我不知道问题出在哪里 我的Ajax-> $.ajax({ url: GlobalUrl, cache: false, //force to handle it as text dataType: "text", success: func

我有一页可以在画布上画一些图表

我使用Ajax在Json文件中获取数据,将它们放入数组并在画布中绘制

它可以在Chrome、Firefox、IE11上运行,但不能在低于11的IE上运行,即使我包含了excanvas.js

我不知道问题出在哪里

我的Ajax->

$.ajax({
    url: GlobalUrl,
    cache: false,
    //force to handle it as text
    dataType: "text",
    success: function (data) {

        //data downloaded so we call parseJSON function 
        //and pass downloaded data
        var json = $.parseJSON(data);......
        Some operations with data....

        Draw function.
我想问题可能在这里,但不确定。
感谢您的回答

excanvas.js在此脚本之前加载?我使用Rgraph作为绘图的Api。当我将AddEventHandler rapir更改为IE时,它现在在IE10中工作,但仍然不适用于IE9及以下版本。我有所有带有Jquery的Rgraph库,然后是excanvas.js,然后是带有这个的整个脚本