Problems printing pie chart with gradient

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
joschi
Newbie
Newbie
Posts: 5
Joined: Mon Dec 19, 2005 12:00 am

Problems printing pie chart with gradient

Post by joschi » Thu Aug 09, 2007 12:21 pm

Hi,

I use TeeChart V7.11 with Delphi 2007.
I try to print a pie series by using the TChart function PrintPartial(). This all works fine until I activate the gradient of the pie series (PieSeries.Gradient.Visible := True;). When the gradient is visible only the legend, the title and even the tool tips of the chart are printed, but no pie is printed.
Exporting to clipboard and saving to image file is all ok. I tried out several different printers because I first thought this is a problem of the printer driver, but every time with the same result.

Does anybody know how to fix this?
Thanks, Joschi

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Thu Aug 09, 2007 1:52 pm

Hi Joschi,

I'm not able to reproduce the problem here. Would you be so kind to send us a simple example project we can run "as-is" to reproduce the issue here?

Thanks in advance!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

joschi
Newbie
Newbie
Posts: 5
Joined: Mon Dec 19, 2005 12:00 am

Post by joschi » Thu Aug 09, 2007 2:34 pm

Hi Narcis,

Find the example at:
http://www.mailbigfile.com/3811979300c6 ... roject.zip

The Zip file includes an exe that shows the behaiviour and also the pas file of the delphi project.

Thanks!

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Aug 13, 2007 11:36 am

Hi joschi,

Yes, this is a known problem. However, exporting to an image works fine so you could try using StretchDraw as shown here.

Hope this helps!
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

joschi
Newbie
Newbie
Posts: 5
Joined: Mon Dec 19, 2005 12:00 am

Post by joschi » Mon Aug 13, 2007 11:50 am

Hi Narcis,

Thanks for this great help!
This works perfectly!

Best regards,
Joschi

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Aug 13, 2007 11:55 am

Hi Joschi,

You're very welcome! I'm glad to hear that solved your problem.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply