Page 1 of 1

Help neede - 3D visualizaion for a pie chart

Posted: Thu Aug 07, 2008 4:28 pm
by 10546441
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

Posted: Mon Aug 25, 2008 10:08 am
by narcis
Hi Christian,

What about using TriSurface series?

Posted: Mon Aug 25, 2008 10:19 am
by 10546441
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 !

Posted: Mon Aug 25, 2008 10:36 am
by narcis
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.

Posted: Mon Aug 25, 2008 10:44 am
by 10546441
How do I use the Draw3D Comp ?

Posted: Mon Aug 25, 2008 10:54 am
by narcis
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.