I have a page with multiple charts. I want to give a print button and export button. On click of that button, all the charts in the page should get exported / printed. I don’t want to use any 3rd party library. Can you please suggest me a way on how to do this. Thanks.
CanvasJS supports exporting chart as an image or to print it. To export multiple charts rendered within a page, you can use html2canvas as shown in this JSFiddle, which can be integrated with JavaScript frameworks like Angular, React, etc.
Please refer this article for more info.
It seems to be working fine with a dependency on jQuery, html2canvas & jspdf libraries. Can you kindly create a sample project reproducing the issue you are facing and share it with us over Google-Drive or Onedrive so that we can look into the code, understand the scenario better and help you out?