Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Layout in swimlanes/containers (Read 1715 times)
ebibnet
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 15
Joined: Aug 25th, 2008
Layout in swimlanes/containers
Dec 11th, 2012 at 3:49pm
Print Post  
Hi,

I'm looking for a way, a strategy to display 2 charts next to each other in the same diagramview

Is it possible to have 2 swimlanes (or alternatively 2 nodecontainers) and  use the layout algorithm to position the chart in each swimlane /

Thank you very much !!!!!!
Ronny
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Layout in swimlanes/containers
Reply #1 - Dec 12th, 2012 at 8:06am
Print Post  
Hi,

If there are no connections between the two charts, most of the layout algorithms will arrange them independently and place the charts next to each other. For layout algorithms that have a SplitGraph property, set it to true to enable that. You could also set the layout's MultipleGraphOrientation property to control whether the independent charts are placed horizontally, vertically or on a grid.

If there are some connections between the charts, you will have to collect the chart elements into a DiagramItemCollection, adding both nodes and links, and then call the Arrange(items) method to arrange each chart. You can find an example that does that for containers' content here:
http://mindfusion.eu/Forum/YaBB.pl?num=1273515591/1#1

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint