Search code examples
javascriptexcanvashighcharts

'G_vmlCanvasManager' is undefined


I am using the highcharts charting library,

i am including excanvas if the browser is ie using

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

yet i still get 'G_vmlCanvasManager' is undefined


Solution

  • is it a typo?

    yours is

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

    should it be?

    <!--[if IE]>
        <script type="text/javascript" src="xcanvas.compiled.js"></script>
    <![endif]-->