dperiyas
Posts: 12
Joined: Thu Feb 24, 2022 1:01 pm

How to export multiple charts in single pdf with multiple pages in angular 9

My requirement is generating pdf with multiple pages containing different charts.
Im able to download all the charts in single page PDF only.
I didn't came across any example or solution that give solution of generating multiple pages PDF.
So I wanted to know is there any solution available for this?
magdalena
Posts: 517
Joined: Tue Aug 24, 2021 1:32 pm

Re: How to export multiple charts in single pdf with multiple pages in angular 9

Hi,

Thanks for contacting us with your question!

Unfortunately, Highcharts doesn't support exporting to multiple pages. You can request this feature on our UserVoice channel: https://highcharts.uservoice.com

Feel free to ask any further questions,
Regards!
Magdalena Gut
Developer and Highcharts Support Engineer
dperiyas
Posts: 12
Joined: Thu Feb 24, 2022 1:01 pm

Re: How to export multiple charts in single pdf with multiple pages in angular 9

Is their any other option available with our own export server we can able to download multiple charts in separate pages in single pdf ?
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: How to export multiple charts in single pdf with multiple pages in angular 9

Hello,
download multiple charts in separate pages in single pdf
Can you specify what you mean in this sentence? You want to generate a single pdf with several pages or multiple charts from different pages in your application to one pdf without paging?

Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/
dperiyas
Posts: 12
Joined: Thu Feb 24, 2022 1:01 pm

Re: How to export multiple charts in single pdf with multiple pages in angular 9

I need to generate a single pdf with several pages in Angular application
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: How to export multiple charts in single pdf with multiple pages in angular 9

Hi,

Unfortunately, this is not possible at the moment.

Feel free to ask any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/
dperiyas
Posts: 12
Joined: Thu Feb 24, 2022 1:01 pm

Re: How to export multiple charts in single pdf with multiple pages in angular 9

Can we able to save the exported PDF file directly into any storage space in java(like GCP,S3) by passing the generated file into API we are having instead of downloading it into local with any Highcharts method?
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: How to export multiple charts in single pdf with multiple pages in angular 9

Hello,

I found a piece of code that you would have to modify to generate a pdf with several pages, but this is a more advanced implementation and it goes beyond the scope of support.

Piece of code: https://github.com/highcharts/highchart ... rt.js#L177
save the exported PDF file directly into any storage space in java
Unfortunately, I have no experience in Java, so it is difficult for me to answer this question. You can modify the export server code in such a way that instead of returning such a file, it saves it to storage space.

Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/
dperiyas
Posts: 12
Joined: Thu Feb 24, 2022 1:01 pm

Re: How to export multiple charts in single pdf with multiple pages in angular 9

Hi,
michal.f wrote: Mon Jun 13, 2022 5:04 pm Hello,

I found a piece of code that you would have to modify to generate a pdf with several pages, but this is a more advanced implementation and it goes beyond the scope of support.

Piece of code: https://github.com/highcharts/highchart ... rt.js#L177

We are exporting PDF with Highchart server from Angular.
Below are reference jsfiddle which we implemented the same
https://jsfiddle.net/BlackLabel/x5y9ephv/

We are not using the file which you mentioned. Can you specify how to use and call the file you mentioned in the above jsfiddle reference?

Unfortunately, I have no experience in Java, so it is difficult for me to answer this question. You can modify the export server code in such a way that instead of returning such a file, it saves it to storage space.
Is it possible to modify the export server code to return the exported file to other instead of downloading as we used Highcharts exporting server module in Angular
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: How to export multiple charts in single pdf with multiple pages in angular 9

Hello,
We are exporting PDF with Highchart server from Angular.
Below are reference jsfiddle which we implemented the same
https://jsfiddle.net/BlackLabel/x5y9ephv/

We are not using the file which you mentioned. Can you specify how to use and call the file you mentioned in the above jsfiddle reference?
This what you mention here is an exporting module in the library. Here you have an article on how to set up your own export server that you can modify according to your requirements: https://www.highcharts.com/docs/export- ... the-server

Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Stock”