title: How do you use jqPlot methods?
body: <p>I have looked at their documentation and searched the interwebs, but I cannot seem to find any concrete examples of how to use a jqPlot method with simple JQuery plugin syntax.</p>
  
  <p>The documentation in this area is exceptionally sparse. For instance, the documentation on 'destroy' is:</p>
  
  <blockquote>
  <pre><code>this.destroy = function()
  </code></pre>
    
    <p>Releases all resources occupied by the plot</p>
  </blockquote>
  
  <p>And that's it. And it's pretty much par for the course. That is the extent of documentation.</p>
  
  <p>So I've tried the basic: <code>$('selector').jqplot('destroy')</code> and some variations to that effect, but they do not work. For all of the methods, I get a <code>No data specified</code> error. I am not sure to what this refers. I have verified that the JQuery object I am making has the class <code>jqplot-target</code>, which presumably is what can handle the jqplot methods. Perhaps this is not the case.</p>
  
  <p>I would greatly appreciate at least one clean, working example of calling a <code>jqPlot</code> method on an element that has been initialized by <code>jqPlot</code>.</p>