TTriSurface visualization problem

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Alexey Gerasimovich
Newbie
Newbie
Posts: 11
Joined: Mon Feb 07, 2005 5:00 am
Contact:

TTriSurface visualization problem

Post by Alexey Gerasimovich » Mon Apr 11, 2005 12:11 pm

Now I've tried to use TTriSurfaceSeries. But I have some problems with it (my current version of TChart Pro is 7.04)

Firstly, I set UseColorRange to true, EndColor and StartColor are set automatically after choosing "Hot" from the Gallery. I have a set of points where some points have y-coordinates 33, 100 or 110 and most of them - 0. But when I see the surface view only two triangles have red colors and all others - blue. Why are they blue? What is wrong in parameters?

Please look at the picture (http://www.ljplus.ru/img/knari/tchart_bug.GIF) , it shows my window. At the left part you can see used points, but don't be confused with coordinates: when I add points to the series inverting two coordinates, it means AddXYZ(x,delta,y); but never mind.

So, in this picture you can see some overdrawing of rectangles. I think it's a bug because I use HideTriangles property (it's true) and if I rotate the series this problem disappears. Or, maybe, I should set some additional properties?

Later I've tried to use OpenGL algorithm, the problem with overdrawing was solved, but in this mode I have additional drawing problems (look at the picture:http://www.ljplus.ru/img/knari/tchart_bug2.GIF): some stripes on the bottom part. Also this has some problems with zooming. But, and this is most important, I have the same blue color. Why? Where is the "hot" palette?

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

Post by Narcís » Wed Apr 20, 2005 1:35 pm

Hi Alexey,

please see my reply at the topic you posted today.
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