Page 1 of 1

Equal size axes

Posted: Mon Feb 13, 2006 3:25 pm
by 9528872
Hi,

I'm drawing a 3D serie of points, which represents a pipe in the space.

I want all the axes to show the same scale, so 1px vertical is equal to 1px horizontal, and 1px depth.

Does exist an method for setting such property?

Example:
The pipe has a 2000m depth (Z), and moves only from 0 to 200 in the X direction, and in 0 to 500 in the Y direction. If I draw it using auto max and min values, the image shows accurate data, but innacurate drawing.

Thanks.

Posted: Mon Feb 20, 2006 12:15 pm
by Pep
Hi,

how about using Isometric axis ? You can see one example of this in the Demo Features project (included into the TeeChart Pro ActiveX installation) under :
What's New -> Welcome ! -> New in Axis -> Isometric Axis

Almost working

Posted: Tue Feb 21, 2006 4:07 pm
by 9528872
Hi,
Thanks for the suggestion, it worked. Finally I projected the 3d points to a 2d space, because the visualization wasn't good enough for what I want.

One important thing that doesn't seems to work very well is the zoom with isometric mode, it doesn't zoom to any arbitrary level.

¿What should I consider?

Thanks.

Posted: Mon Feb 27, 2006 12:02 pm
by Pep
Hi,

yes, this is a known problem. We'll try to fix it in one of the next maintenance releases of TeeChart.
In meantime a workaround is to do the following :

Code: Select all

Private Sub TChart1_OnUndoZoom()
  MakeIsoAxis
  MakeIsoAxis
end sub