We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

symbol overlaping

Thread ID:

Created:

Updated:

Platform:

Replies:

62328 Jun 13,2007 07:36 AM UTC Jun 15,2007 12:33 PM UTC ASP.NET Web Forms (Classic) 3
loading
Tags: DiagramWebControl
Lai Yong Law
Asked On June 13, 2007 07:36 AM UTC

I am refering the OrgLayout sample inside Diagram.web to display something like organization chart. But sometimes the symbol will overlaps. Any solution?

diagram_renderer.zip

Meera Fathima [Syncfusion]
Replied On June 13, 2007 12:49 PM UTC


Hello Ly,

If your intension is to increase the horizontal spacing between the layout nodes in order to avoid the overlapping, please use some large value to the Layout manager's HoriZontalSpacing property. Below is the sample code snippet for your reference.

Orglayout sample :

protected DirectedTreeLayoutManager dtLayoutMgr;

this.dtLayoutMgr = new DirectedTreeLayoutManager();
this.dtLayoutMgr.HorizontalSpacing = 100;

Please let me know whether this helps you.

Thanks and Regards,
Meera.

Lai Yong Law
Replied On June 14, 2007 06:38 AM UTC

Still the same problem. I think the HorizontalSpacing value actually not being use inside the layout manager.

Meera Fathima [Syncfusion]
Replied On June 15, 2007 12:33 PM UTC


Hello Ly,

I have tried setting different values for the LayoutManager.HorizontalSpacing and it is affecting the spacing between the layout and so I was not able to reproduce the issue. Below is the sample code snippet( from the My Documents\Syncfusion\EssentialStudio\5.1.0.51\Web\diagram.web\Samples\2.0\OrgLayout\CS sample) for your reference.

protected void Page_Load(object sender, EventArgs e)
{
if (this.IsPostBack == false)
{
this.dtLayoutMgr = new DirectedTreeLayoutManager();
this.dtLayoutMgr.VerticalSpacing = 40;
this.dtLayoutMgr.HorizontalSpacing = 100;
this.DiagramWebControl1.LayoutManager = this.dtLayoutMgr;

//Initialize the DiagramWebControl with employee data from an XML data file
this.InitializeDiagramFromXMLData();
//... code here
}
}

Are you using anything specific in your LayoutManager? If possible could you please send me the sample to see the problem if you still find any issues with this.

Thanks for your continued support.

Best Regards,
Meera.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;