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

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

Thread ID:

Created:

Updated:

Platform:

Replies:

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

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 01:57 PM UTC

I got it working. Please close.

Thank you.

Neill



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

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.

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

;