Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1473

Summary: Export multiple charts to a pdf
Product: VCL TeeChart Reporter: yeray alonso <yeray>
Component: ExportAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: enhancement CC: david.cox
Priority: High    
Version: 150901   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/support/viewtopic.php?f=3&t=2835&p=9987#p9987
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description yeray alonso 2016-03-16 09:05:46 EDT
The TeeNew demo includes an example showing how to export multiple charts to a bmp (FourCharts at "All features\Welcome !\Exporting\Chart Picture\Bitmap BMP").

It would be nice to allow to do a similar thing for pdf.
Comment 1 yeray alonso 2019-06-27 06:06:03 EDT
Another customer would like to add a chart to a given pdf:
https://www.steema.com/support/viewtopic.php?f=3&t=17192
Comment 2 David Cox 2019-06-28 13:22:27 EDT
Add my name to the list of developers who would like the feature to write multiple charts out to an existing PDF.
Comment 3 yeray alonso 2019-07-01 07:49:21 EDT
Added new AddPanel function, allowing you to add several charts to pdf to be created:

  with TPDFExportFormat.Create do
  try
    for i:=0 to High(Charts) do
      AddPanel(Charts[i]);

    SaveToFile(fileName);
  finally
    Free;
  end;
Comment 4 David Cox 2019-07-02 12:05:34 EDT
Thanks.

Is this new function available in the latest release of TeeChart?

Dave
Comment 5 yeray alonso 2019-07-03 02:29:46 EDT
No. The last release was published the 30th May 2019 while this feature was implemented the 1st July.
The next release will include it.

Since you own a license with Sources, I'll send you the affected unit so you can test it without having to wait for the next release.