Hi!
When I try to print TeeChart to pdf I get the chart in black and white but when I print it to a printer the chart will get its colors.
My version of TeeChart is "TeeChart Pro v2012.05.120327 32bit VCL". I develop in Embarcadero's Delphi XE2 Update 4.
Any help would be Appreciated
Cannot print TeeChart in color to pdf
-
- Newbie
- Posts: 1
- Joined: Fri Nov 30, 2012 12:00 am
Re: Cannot print TeeChart in color to pdf
Hi Hally,
Have you tried it with the actual version v2012.07?
The following code produces a correct colored pdf file for me:
Have you tried it with the actual version v2012.07?
The following code produces a correct colored pdf file for me:
Code: Select all
uses VCLTee.Series, TeePDFCanvas;
procedure TForm1.FormCreate(Sender: TObject);
begin
with Chart1.AddSeries(TBarSeries) do
begin
FillSampleValues;
ColorEachPoint:=true;
end;
TeeSaveToPDFFile(Chart1, 'C:\tmp\PDF_test1.pdf');
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |