Page 1 of 1

Printing a Pie Chart with a Gradiant

Posted: Wed May 24, 2006 3:42 pm
by 9345656
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?

Posted: Sun May 28, 2006 10:54 pm
by Pep
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.

Posted: Tue May 30, 2006 1:35 pm
by 9345656
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

Posted: Tue May 30, 2006 3:03 pm
by Pep
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.