Step 3:-. Now you can create a page break lightning component. This component is used for breaking the page where we needed in the PDF. If you don’t want to use page break, in this case, the chart will be split into two different page. So for PDF beautification, I have implemented page break component. Below is the code for page break component.
I tried using pdfmake to generate pdf but was unsuccessful. Can anyone suggest any client side way to implement the generation of pdf from the ionic html page. Thanks in advance