Equal size axes

TeeChart for ActiveX, COM and ASP
Post Reply
ACC
Newbie
Newbie
Posts: 12
Joined: Fri Oct 21, 2005 4:00 am

Equal size axes

Post by ACC » Mon Feb 13, 2006 3:25 pm

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.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Feb 20, 2006 12:15 pm

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

ACC
Newbie
Newbie
Posts: 12
Joined: Fri Oct 21, 2005 4:00 am

Almost working

Post by ACC » Tue Feb 21, 2006 4:07 pm

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.

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Mon Feb 27, 2006 12:02 pm

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

Post Reply