Help neede - 3D visualizaion for a pie chart

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
ChZiegelt
Newbie
Newbie
Posts: 39
Joined: Thu Aug 09, 2007 12:00 am
Contact:

Help neede - 3D visualizaion for a pie chart

Post by ChZiegelt » Thu Aug 07, 2008 4:28 pm

Hi there everyone

What I need to do is a kind of "surface" chart of a pie diagram.

I will have a pie chart for an inner and an outer ring. Consisting of regulary distributed points on a circle.
Now I need to show these values in a 3D Chart for being able to look at each side.

For surfaces I could use the surface Chart, but I did not find out how to plot round forms, like circles or tubes.

Any idea how to do it ?

Thanks in advance.
Christian

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Aug 25, 2008 10:08 am

Hi Christian,

What about using TriSurface series?
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

ChZiegelt
Newbie
Newbie
Posts: 39
Joined: Thu Aug 09, 2007 12:00 am
Contact:

Post by ChZiegelt » Mon Aug 25, 2008 10:19 am

I gave it a try, but it did not work out like I needed. Sorry, but thanks for the reply.

Meanwhile I used a Point3D series.
But I had to rewrite big parts of the code to achive my goals.
I needed to see the point symbols as points from each point of view. For some reason the "sphere" was not realy implemented and it took me much time to get some work arounds.

The second BIG problem still is, the series are not painted in Z-Order. If the series is in front of another in the chart does not affect the "being painted".
It seems like it just depends on the index in the series List.

I would be realy realy glad if a correct display of points in the full 3D view could be implemented in the near future. While the OpenGL Component does not work on the little handheld machine I work on I still need to use the simple 3D methods.

There is even one more complication - if I like to save a chart as a bitmap File, the transparency of series is not any longer visible, transparent planes are hiding points behind it now in the bitmap.

Any idea how to solve that ?

Thanks anyway !

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Aug 25, 2008 10:36 am

Hi Christian,

Current TeeChart series are not designed for plotting this kind of graphics. However, using Bubble3D series may be the easiest way to plot a sphere at the moment. Also using TDraw3D component may help you on that.

Anyway, we are currently working on a new rendering engine which should be able to accomplish all your current requests.
There is even one more complication - if I like to save a chart as a bitmap File, the transparency of series is not any longer visible, transparent planes are hiding points behind it now in the bitmap.
Bitmap transparency should work fine. Have you tried the same with a .gif or .png file?

Thanks in advance.
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

ChZiegelt
Newbie
Newbie
Posts: 39
Joined: Thu Aug 09, 2007 12:00 am
Contact:

Post by ChZiegelt » Mon Aug 25, 2008 10:44 am

How do I use the Draw3D Comp ?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Aug 25, 2008 10:54 am

Hi Christian,

Have a look at the All Features\Welcome!\Components\Draw3D panel example in the new features demo, available at TeeChart's program group.

Thanks in advance.
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