I have developed a bar chart using Chart.js library in lighting as standard dashboard doesn't help me to meet my requirements. I want to export to PDF without using any other library.
I tried converting canvas to image(canvas.toDataURL method) and store it in attachment object and retrieve later in PDF. But got an exception (too long url to convert)
Is there a way to export customized chart to PDF.