@jokl wrote:
After filling in the diagram model, I run the following code to center the chart:
this.diagram.alignDocument(go.Spot.Center, go.Spot.Center);
this.diagram.equestUpdate();How do I align the diagram in the center after resizing the browser? Do I need to subscribe to some event and call this code every time?
Posts: 2
Participants: 2