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

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -