Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic FlowChart 4.2.3 Lanes (Read 1281 times)
jstraylor
Junior Member
**
Offline


I love YaBB 1G - SP1!

Posts: 50
Joined: Dec 28th, 2006
FlowChart 4.2.3 Lanes
Feb 6th, 2007 at 5:53pm
Print Post  
Good day,

I am attempting to use the new lane layout on the Flowchart and am having some problems understanding how it works.

I don't need headers for the rows or columns, so I am simply trying to create a lane layout that is 1 column by 5 rows.

Is there some additional documentation available for lanes, or another small example that will allow me to layout the chart as I described??

Thank you,
Jeff Traylor
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: FlowChart 4.2.3 Lanes
Reply #1 - Feb 6th, 2007 at 6:49pm
Print Post  
Good day,

At this time rows and columns in the grid are bound to their headers, and the only way you can add new rows and columns is to add headers to the RowHeaders and ColumnHeaders collections. At least you can hide the headers by setting the row headers' width or column headers' height to 0:

Code
Select All
// Initialize grid
Grid grid = flowChart.LaneGrid;
grid.AllowResizeHeaders = false;

// Add 1 column, but do not show a header
grid.ColumnHeaders.Add(new Header());
grid.ColumnHeaders[0].Height = 0;

// Add 5 rows, but do not show their headers
for (int i = 0; i < 5; i++)
{
	grid.RowHeaders.Add(new Header());
	grid.RowHeaders[i].Width = 0;
}

flowChart.EnableLanes = true;
 



Tomorrow we will upload an updated help file with more information on the lanes grid. I guess in the next build we can implement a simpler method to create a grid without headers.

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