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.
Unfortunately, activation email could not send to your email. Please try again.

Is it possible to add multiple Labels to the Hierarchical Diagram nodes?

Thread ID:

Created:

Updated:

Platform:

Replies:

130431 May 12,2017 06:29 AM May 15,2017 12:28 AM ASP.NET MVC 2
loading
Tags: Diagram
Neill
Asked On May 12, 2017 06:29 AM

Hi there,

I am using the Hierarchial Diagram to display data linked together.

Is it possible to add more than 1 text label to each node?

I tried adding a Label but this does not work.

            Label testLabel = new Label()
            {
                FontColor = "White",
                FontSize = 12,
                Text = "Test",
            };

            model.DefaultSettings.Node.Labels.Add(testLabel);

I can add the required text to the JSON string I'm using but don't know how to attach it to the node.

Thanks

Neill

Neill
Replied On May 12, 2017 09:57 AM

I got it working. Please close.

Thank you.

Neill



Shyam G [Syncfusion]
Replied On May 15, 2017 12:28 AM

Hi Neill, 
We are happy to hear that your problem is resolved. 
Regards, 
Shyam G 


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.

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.

;