Issue with connectionDefaults.content.template Kendo UI Diagram -


i want content divide 2 lines. per this thread template function not allow line break. tried setting connectiondefaults.content.visual below function:

        var getconnection = function (data) {         var g = new kendo.dataviz.diagram.group({             autosize: true         });         var text1 = new kendo.dataviz.diagram.textblock({             text: data.label.name,             fontsize: 16         });          g.append(text1);          var text2 = new kendo.dataviz.diagram.textblock({             text: data.label.value,             fontsize: 16         });          g.append(text2);         return g;     } 

but problem here data field not populate connection data due assigning values not possible.

a solution appreciated.


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -