Hi all,
Simple code but no solution yet
this.diagramTitle =
$(go.Part,
{
layerName: ‘Grid’,
data: new go.Point(0, 2),
},
$(go.TextBlock, //Note this is just title node so binding needed and not added as part of node collection
{
text: ’ this is my title’
}, { font: ‘bold 10pt sans-serif’, stroke: ‘green’ }));
this.myDiagram.add(this.diagramTitle);
Based on external paramters now I have to change the title
I am trying find this go.part and modify the text which i am not able to do
Any quick suggestion will be appreciated