TDonutPieSeries

TeeTree VCL for Borland Delphi and C++ Builder.
Post Reply
Nati
Newbie
Newbie
Posts: 5
Joined: Mon Dec 27, 2004 5:00 am

TDonutPieSeries

Post by Nati » Thu Mar 03, 2005 9:36 am

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?

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 Mar 03, 2005 10:03 am

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.
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