Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Tree Layout in the 3D diagram (Read 1601 times)
Hamdy Ghanem
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 110
Location: Egypt
Joined: Mar 11th, 2009
Tree Layout in the 3D diagram
Sep 4th, 2011 at 2:35pm
Print Post  
Dim layout As New TreeLayout()
layout.Arrange(diagram)
dgView3D.ResetProjection()
dgView3D.Focus()

it is coming like tree from down to up I need to revers it from up to down

  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Tree Layout in the 3D diagram
Reply #1 - Sep 5th, 2011 at 6:58am
Print Post  
The Y axes grow in opposite directions in the 2D and 3D views. You will have to either call Arrange with TreeLayout.Direction set to BottomToTop, or set the Y values of 3D points to be the negative of the 2D values.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Hamdy Ghanem
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 110
Location: Egypt
Joined: Mar 11th, 2009
Re: Tree Layout in the 3D diagram
Reply #2 - Sep 5th, 2011 at 7:31am
Print Post  
layout.Direction = TreeLayoutDirections.BottomToTop

Great
Thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint