0

Applicaton Background: I am developing an application that should have multiple highcharts on the same page with export to PDF button.On the left navigation there would be links to go to any high chart and a text area to enter user comments.Suppose we have three high charts that is bar chart,heat map and scatter plot on th esame page.If user wants to navigate to any of this chart then he must click on the links on the left navigation.The left navigation part will be available to each of the chart so that user can navigate to any chart.

Query: When user clicks on export to PDF button,all the three charts should be exported in the PDF.Also comments in the text area should be exported as a note in the PDF.Please let me know how to achieve this.

kais
  • 63
  • 1
  • 13

2 Answers2

0

First you need some logic to convert this highchart to binary image

Save highchart as binary image

Then you have to take content and binary code for generating pdf

That you can refer here

Is it possible to generate PDF using jQuery?

Export HTML page to PDF on user click using JavaScript

http://forum.jquery.com/topic/how-to-generate-pdf-file-in-jquery http://forum.jquery.com/topic/html-to-pdf

Better use some server side logic to generate pdf

Community
  • 1
  • 1
Prashobh
  • 9,216
  • 15
  • 61
  • 91
0

I advice to familiar with the related topic http://www.highcharts.com/docs/frequently-asked-questions#export-multiple

Sebastian Bochan
  • 37,348
  • 3
  • 49
  • 75