Page 1 of 1

TDonutPieSeries

Posted: Thu Mar 03, 2005 9:36 am
by 9340414
Hello!
I was trying to paint the hole in the TDonutSeries in another color such as transparent or something.
Is there a way do do it?

Posted: Thu Mar 03, 2005 10:03 am
by narcis
Hello Nati,

First of all, you should had post this message in the TeeChat > VCL forums, not TeeTree > VCL.

TDonutSeries hole is already transparent. Anyway, I'm afraid there's no method to paint it on any other color. You should have to calculate and implement it manually.

You can also use a TPieSeries painting an ellipse on it. You can paint an ellipse using the chart canvas and implement it on AfterDraw event.