Page 1 of 1

WarmPie example in Delphi - smooth pie chart

Posted: Fri Jan 30, 2009 8:48 am
by 10049140
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!

Posted: Fri Jan 30, 2009 10:13 am
by yeray
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.

Posted: Fri Feb 06, 2009 2:28 pm
by 10049140
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!

Posted: Fri Feb 06, 2009 3:15 pm
by yeray
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?

Posted: Fri Feb 06, 2009 3:53 pm
by 10049140
Sorry for this stupit request!
Of course there was a path of V7 includedn in my search path.

Now all works fine.
Thanks!

Posted: Fri Feb 06, 2009 4:03 pm
by yeray
Hi marder,

Don't worry! We're pleased to help!

Re: WarmPie example in Delphi - smooth pie chart

Posted: Tue Nov 03, 2009 9:40 am
by yeray
Hi,

For other customers interest, here it is attached the example we sent to marder.

Re: WarmPie example in Delphi - smooth pie chart

Posted: Wed Aug 18, 2010 3:00 pm
by yeray
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 18790 times
And here you have the source code and the executable:
Pie_v2010.zip
(1.5 MiB) Downloaded 1235 times

Re: WarmPie example in Delphi - smooth pie chart

Posted: Fri Oct 25, 2013 7:41 am
by yeray
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 15786 times
Pie_v2013.zip
(1.71 MiB) Downloaded 913 times