title: How to delete a specific dataset from Chart.js?
body: <p>I want to add &amp; delete datasets from chart.js using checkboxes.</p>
  
  <p>Right now I am adding using this: </p>
  
  <pre><code>var ds1 = {
      label: ..
      data: .. etc
  };
  data.datasets.push(ds1);
  </code></pre>
  
  <p>When I uncheck any of the checkboxes, it's always deleting the last dataset added, which is not necessary the one of the checkbox.</p>
  
  <p>I'm using <code>data.datasets.pop(ds1);</code> to remove the when a checkbox is clicked.</p>