JqPlot error in IE 7

5

I'm using the JqPlot plugin to generate a bar and column chart. After running the tests in Mozilla and Chrome, which worked perfectly, I ran the test on IE7 and IE8 and got the following error:

  

window.g_vmlcanvasmanager is null or not an object.

Can anyone tell me why? Because I have imported all the necessary libraries, including those of Canvas .

    
asked by anonymous 12.02.2014 / 18:08

1 answer

5

Outdated versions of jqPlot do not work with jQuery 1.9

Update the version of jqPlot you are using, or use an earlier version of jQuery:

<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>

Alternatively,includejQuerymigrate: link

It's important to remember that jQuery version 2 does not support older versions of IE.

In addition, to support IE less than 9, you also need the conditional code below (you said you already included this, but remain here for completeness):

<!--[if lt IE 9]><script language="javascript" type="text/javascript" src="excanvas.js"></script><![endif]-->

Source: link

    
12.02.2014 / 18:17