Hi there @peamc, yes there is a way to do this using HTML2Canvas:
<script src="https://rawgithub.com/niklasvh/html2canvas/master/dist/html2canvas.min.js"></script>
<script type="text/javascript">
function exportChart() {
html2canvas($('#element1'), {
useCORS: true,
allowTaint: true,
onrendered: function (canvas) {
var img = document.createElement("a");
img.href = canvas.toDataURL();
img.download = "chart.png";
img.click();
}
});
}
</script>
Heres a function which does what you need, just replace 'element1' with the div id of you div containing your chart!
Good luck mate.
... View more