TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
marder
- Advanced
- Posts: 115
- Joined: Thu May 29, 2008 12:00 am
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:
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

- Posts: 9643
- 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.
-
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

- Posts: 9643
- 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?
-
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

- Posts: 9643
- 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!
-
Yeray
- Site Admin

- Posts: 9643
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
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 1074 times
-
Yeray
- Site Admin

- Posts: 9643
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
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 (91.99 KiB) Viewed 19787 times
And here you have the source code and the executable:
-
Yeray
- Site Admin

- Posts: 9643
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
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 (100.29 KiB) Viewed 16783 times