title: Print chart using chart js
body: <p>I am using Chart JS library to create charts <a href="https://www.chartjs.org/" rel="nofollow noreferrer">https://www.chartjs.org/</a></p>
  
  <p>Say I have the below code </p>
  
  <pre><code> &lt;div class="card-body "&gt;
          &lt;canvas id="bidStatus"&gt;&lt;/canvas&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>Using the FileSaver.js I am able to save the chart using the below code</p>
  
  <pre><code>function DownloadImage() {
      $("#bidStatus").get(0).toBlob(function (blob) {
          saveAs(blob, "BidStatus.png");
      });
  }
  </code></pre>
  
  <p>But I am not sure how I can print the chart. Don't see any native API call to do that. Can some one please tell me how I can achieve this.</p>
  
  <p>I tried using jquery print libraries which are mentioned in the Print an HTMl element example but they don't seem to load the chart generated using Chart js. I get a blank page for printing.</p>
  
  <p>Thanks</p>