title: jqplot error: Uncaught Canvas dimension not set
body: <p>I have a simple graph made from an array that looks like this:</p>
  
  <pre><code>var plot2 = [[1,1.3,"1.3"],[2,0.3,"0.3"],[3,3.3,"3.3"],[4,1.7,"1.7"]];
  </code></pre>
  
  <p>and then it's added to a div like this.</p>
  
  <pre><code>var plot1 = $.jqplot ('graph', [plot2],{
    grid:{
      background:"transparent",
      borderColor:"#6c9922",
      gridLineColor:"#6c9922",
      shadow:false
    },
    axes: {
      xaxis: {
        tickOptions:{formatString:'%.0f'},
        pad: 0,
        min:0,
        max:5
      },
      yaxis: {
        tickOptions:{formatString:'%.1f'},
        pad: 0,
        min:0,
        max:5
      },
    },
    series:[{
      lineWidth:2,
      markerOptions: {size:2,style:"circle"}
    }],
    seriesDefaults:{
      showMarker:true,
      pointLabels:{ show:true }
    },
    seriesColors:["#ffffff"]
  });
  </code></pre>
  
  <p>My problem is that some users of my website is reporting that they can't see the graph, both using latest Chrome and Firefox, and that they get and error saying</p>
  
  <pre><code>Uncaught Canvas dimension not set jquery.jqplot.min.js:57 
  </code></pre>
  
  <p>Some of them say that the graph only works if they have zoom-level set to 100%.</p>
  
  <p>None of this makes much sense to since and everything works perfect on every system I've tried.</p>
  
  <p>So does anybody have any idea what can be wrong?</p>
  
  <p>I've searched for the error but the only place I can find it is in the source code of the jqplot plugin.</p>