Hi,
I would like to use embedded pdf export feature by using TeeSaveToPDFFile function, but I have an issue when an area on chart is filled with a pattern (using TSeriesBandTool). Indeed this area is exported as a blank area into the pdf file:
TeeChart screenshot:
Pdf generated (with TeeSaveToPDFFile function) screenshot:
I use Delphi XE10.1 Berlin and Steema TeeChart Pro VCL FMX Source Code 2020.31.
Thanks for your help
Anthony
Fill area with pattern - PDF export issue
Re: Fill area with pattern - PDF export issue
Hello Anthony,
I'm afraid patterns aren't exported to pdf. I've added it to the public tracker (#2556)
The same happens with transparencies (#2275).
I'm afraid patterns aren't exported to pdf. I've added it to the public tracker (#2556)
The same happens with transparencies (#2275).
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Fill area with pattern - PDF export issue
Hello Yeray,
will this fix be part of the next Teechart VCL release?
thanks & regards
Thomas
will this fix be part of the next Teechart VCL release?
thanks & regards
Thomas
Re: Fill area with pattern - PDF export issue
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Fill area with pattern - PDF export issue
Hello Yeray,
is there any progress on this issue?
thanks & regards
is there any progress on this issue?
thanks & regards
Re: Fill area with pattern - PDF export issue
Hello,
We've just fixed the exportation of transparencies into pdf.
A workaround, which also works for patterns, is to create the pdf document "manually" (with
There was a range exception with new IDEs with this technique we've also just fixed.
We've just fixed the exportation of transparencies into pdf.
A workaround, which also works for patterns, is to create the pdf document "manually" (with
TPDFCanvas
), export the TChart
to TBitmap
with TeeCreateBitmap
, and add that bitmap to the pdf document. Ie:
Code: Select all
procedure TForm1.ExportChartToPdf;
var c : TPDFCanvas;
b : TBitmap;
const PDF='C:\tmp\chart1.pdf';
begin
c:=TPDFCanvas.Create;
try
b:=Chart1.TeeCreateBitmap;
try
c.Draw(0,0,b);
finally
b.Free;
end;
c.SaveToFile(PDF);
finally
c.Free;
end;
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |