Printing a Pie Chart with a Gradiant

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Rich
Newbie
Newbie
Posts: 2
Joined: Thu Mar 16, 2006 12:00 am

Printing a Pie Chart with a Gradiant

Post by Rich » Wed May 24, 2006 3:42 pm

We are using TeeChart Pro 7.07 to display several chart types. When trying to work with a Pie Chart with a gradiant, the chart displays properly on screen. However, when we try to print the pie chart, only the canvas (the background) prints - the pie itself is missing from the output.

If we set the Gradiant property to invisible, as follows:

PieSeries.Gradiant.Visible := False;

then the pie will print.

This only occurs with Pie charts. Bar charts print fine with or without a gradiant.

We are using Delphi 6 Enterprise. What do we need to do to print a pie chart with a gradiant?

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Sun May 28, 2006 10:54 pm

Hi Rich,

you're correct, print with Gradient still not supported in the latest TeeChart Pro version (it's on our wish list), but it should print at least without the gradient (with a solid colors as other Series). I've added this issue on our bug/wish list so it can be considered for the next releases.

Rich
Newbie
Newbie
Posts: 2
Joined: Thu Mar 16, 2006 12:00 am

Post by Rich » Tue May 30, 2006 1:35 pm

Pep,

Just so I understand correctly, you say the pie should still print without the gradiant. Do you mean if we have PieSeries.Gradiant.Visible := True that the pie should still print but without a gradiant?

If this is what you mean then please note that TeeChart does not print the pie at all unless we manually turn the gradiant feature off during printing.

Thanks.

Rich

Pep
Site Admin
Site Admin
Posts: 3299
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Tue May 30, 2006 3:03 pm

Hi Rich,
Just so I understand correctly, you say the pie should still print without the gradiant. Do you mean if we have PieSeries.Gradiant.Visible := True that the pie should still print but without a gradiant?
Yes, I mean this. As the printing with Gradient still no supported it should be printed without it (as with gradient.visible = false). I've writed this down our bug/wish list to be reviewed for further releases.
In meantime a workaround is as you said set the Gradient.Visible to false before to print the Chart.

Post Reply