I am trying to use html2canvas to take the screenshort and save it in a pdf but due to huge data, data is overlapping
function createPDF() { getCanvas