WarmPie example in Delphi - smooth pie chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

WarmPie example in Delphi - smooth pie chart

Post by marder » Fri Jan 30, 2009 8:48 am

Hi.

I found this very nice looking pie chart in the Gallery on your website:
Image

I did not found this as an example shipping with TeeChart V8.04.
Can you please tell me if such a chart can be build with TeeChart in Delphi 2007?
If so, can you please send me some example code?

Best regards!

Yeray
Site Admin
Site Admin
Posts: 9203
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Fri Jan 30, 2009 10:13 am

Hi marder,

Notice that some of those charts were plotted using TeeChart for .NET
v3 and some of Micrsoft .NET Framework drawing tecniques are not available
in the VCL framework.

However, I've sent to your forums registered mail an example
reproducing similar pie to the one in the gallery using TeeChart Pro v8
VCL.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

Post by marder » Fri Feb 06, 2009 2:28 pm

Hi Yeray.

Sorry for the late response.
I tried to complie the code sample you send me, but with TeeChart V8.04 and Delphi 2007 I get compiler errors:
1. [DCC Error] Unit_Pie.pas(30): E2003 Undeclared identifier: 'WarmPalette'
2. [DCC Error] Unit_Pie.pas(41): E2003 Undeclared identifier: 'Shadow'
3. [DCC Error] Unit_Pie.pas(43): E2003 Undeclared identifier: 'Visible'
4. [DCC Error] Unit_Pie.pas(49): E2003 Undeclared identifier: 'Visible'
5. [DCC Error] Unit_Pie.pas(53): E2003 Undeclared identifier: 'PieMarks'

Can you please help me out?
Thanks!

Yeray
Site Admin
Site Admin
Posts: 9203
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Fri Feb 06, 2009 3:15 pm

Hi marder,

I think that the most probably is that your delphi's search path is still referencing some previous teechart installation packages. Could you please verify the search and the library path?
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

marder
Advanced
Posts: 115
Joined: Thu May 29, 2008 12:00 am

Post by marder » Fri Feb 06, 2009 3:53 pm

Sorry for this stupit request!
Of course there was a path of V7 includedn in my search path.

Now all works fine.
Thanks!

Yeray
Site Admin
Site Admin
Posts: 9203
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Fri Feb 06, 2009 4:03 pm

Hi marder,

Don't worry! We're pleased to help!
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9203
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: WarmPie example in Delphi - smooth pie chart

Post by Yeray » Tue Nov 03, 2009 9:40 am

Hi,

For other customers interest, here it is attached the example we sent to marder.
Attachments
Pie.zip
VCL Pie similar to the NET Pie in the gallery
(1.38 MiB) Downloaded 903 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9203
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: WarmPie example in Delphi - smooth pie chart

Post by Yeray » Wed Aug 18, 2010 3:00 pm

Hello,

I've upgraded the Pie in the post above to TeeChart v2010 and its new properties: BevelPercent, EdgeStyle and Transparency.
The result is quite better:
Pie_v2010.png
Pie_v2010.png (91.99 KiB) Viewed 17629 times
And here you have the source code and the executable:
Pie_v2010.zip
(1.5 MiB) Downloaded 1124 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9203
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: WarmPie example in Delphi - smooth pie chart

Post by Yeray » Fri Oct 25, 2013 7:41 am

Hello,

New update. With v2013 the curved lines have been considerably improved and here it how it looks:
Pie_2013.png
Pie_2013.png (100.29 KiB) Viewed 14625 times
Pie_v2013.zip
(1.71 MiB) Downloaded 804 times
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply