Page 1 of 1

Draw 3D polygon

Posted: Tue Sep 04, 2012 1:54 am
by 16561215
Hi,

I would like to have some help on how to draw an arbitrary (irregular) 3D polygon (X, Y and Z coordinates) on runtime.

On TChart for VCL I can just use TTeePolygon and add as many points as necessary (Points.AddXY). Is there anything like a TTeePolygon3D, with Points.AddXYZ functionality in TChart3D for FireMonkey?

In addition, it would be great to have a polygon object that would trigger mouse events (e.g. OnMouseOver, OnMouseClick).

What are my alternatives?

Thanks in advance!

Thiago

Re: Draw 3D polygon

Posted: Tue Sep 04, 2012 10:23 am
by yeray
Hi Thiago,

Have you tried using Point3D, Surface (with IrregulaGrid=true) and/or Triangle Surface series? What problem have you found with them?
You can find examples of the in the Features demo project included with the installation, all three under "All features\Welcome !\Chart styles\Extended"