Hi,
Thanks for the example. I can see that in your code the offsetx and offsety are populated.
But in mine, they are always zero.
The diagram is rendered correctly (see attached pic), but the following js Console error is thrown every time the graph loads. Might this have something to do with the problem?
Where would I start to figure out the error?
Uncaught (in promise) Error: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'index')
at System.Collections.Generic.List`1.get_Item(Int32 index)
at System.Collections.ObjectModel.Collection`1.System.Collections.IList.get_Item(Int32 index)
at Syncfusion.Blazor.Diagrams.SfDiagram.UpdateComponentModel(Dictionary`2 properties, Object parentObject)
at Syncfusion.Blazor.Diagrams.SfDiagram.UpdateComponentModel(Dictionary`2 properties, Object parentObject)
at Syncfusion.Blazor.Diagrams.SfDiagram.UpdateBlazorProperties(Dictionary`2 properties)
at Syncfusion.Blazor.Diagrams.SfDiagram.UpdateBlazorDiagramObjects(Dictionary`2 DiagramObject)
at Object.endInvokeDotNetFromJS (blazor.server.js:1)
at e.<anonymous> (blazor.server.js:10)
at blazor.server.js:1
at Array.forEach (<anonymous>)
at e.invokeClientMethod (blazor.server.js:1)
at e.processIncomingData (blazor.server.js:1)
at e.connection.onreceive (blazor.server.js:1)
at WebSocket.i.onmessage (blazor.server.js:1)
Attachment:
DiagramError_5ede0ce4.7z