Page 1 of 1

Problems printing pie chart with gradient

Posted: Thu Aug 09, 2007 12:21 pm
by 9239691
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

Posted: Thu Aug 09, 2007 1:52 pm
by narcis
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!

Posted: Thu Aug 09, 2007 2:34 pm
by 9239691
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!

Posted: Mon Aug 13, 2007 11:36 am
by narcis
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!

Posted: Mon Aug 13, 2007 11:50 am
by 9239691
Hi Narcis,

Thanks for this great help!
This works perfectly!

Best regards,
Joschi

Posted: Mon Aug 13, 2007 11:55 am
by narcis
Hi Joschi,

You're very welcome! I'm glad to hear that solved your problem.