title: jqplot "no data to plot"
body: <p><a href="http://www.jqplot.com" rel="nofollow noreferrer">http://www.jqplot.com</a></p>
  
  <p><img src="https://i.stack.imgur.com/Y7xNA.png" alt="my data"></p>
  
  <pre><code>&lt;script src="/Scripts/jquery.jqplot.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="/Scripts/jqplot.barRenderer.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="/Scripts/jqplot.categoryAxisRenderer.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="/Scripts/jqplot.pointLabels.js" type="text/javascript"&gt;&lt;/script&gt;
  
  
  // categories is the data on the top of the screenshot.
  // hours is the data on the bottom of screenshot
  
      $.jqplot('timeOffGraph', hours, {
                      seriesDefaults: {
                          renderer: $.jqplot.BarRenderer,
                          rendererOptions: { fillToZero: true },
                          pointLabels: { show: true }
                      },
                      axes: {
                          xaxis: {
                              renderer: $.jqplot.CategoryAxisRenderer,
                              ticks: categories
                          },
                          yaxis: {
                              tickOptions: { formatString: '%d' },
                              autoscale: true,
                              min: 0,
                              max: 10000
                          }
                      }
                  });
  </code></pre>
  
  <p>I get "DataError: no data to plot"</p>