Issue #837 new

IE8 invalid argument excanvas.js line 107

Anonymous created an issue

Hello,

I have an error 'invalid argument line 107' for IE. It works fine with mozilla. The excanvas.js file is included.

<link type="text/css" rel="stylesheet" media="screen" href="/styles/jquery.jqplot.min.css">
...
<script src="/media/jquery/1.7.2/jquery-1.7.2.min.js" type="text/javascript">
<script src="/scripts/jqplot/excanvas.js" type="text/javascript">
<script src="/scripts/jqplot/jquery.jqplot.min.js" type="text/javascript">
....

Fill the graph :

$.jqplot('graphDiv', [dataJson.data], {
    seriesColors: ["#ff6600"],
    axesDefaults: {
        tickRenderer: $.jqplot.CanvasAxisTickRenderer ,
        tickOptions: {
            fontSize: '7pt'
        }
    },
    axes:{
        xaxis:{
            renderer:$.jqplot.DateAxisRenderer,
            tickOptions:{
                angle: -60,
                formatString:'%#d/%m %H:%M'
            }
        }
    },
    highlighter:{
        show: true,
        sizeAdjust: 9
     }
});

Thank you for your help.

Comments (1)

  1. Sam Wilson

    Is this something to do with the order in which the javascript files are included? I was getting a similar problem, which was solved by loading the files in order that each only requires those that have already been included. This seems strange, as surely the DOM isn't considered ready() until all files are loaded? But it's IE we're talking about, so who knows... :-)

  2. Log in to comment