@no_one345 wrote:
I m working on a project with a lot of diagrams in it, i need to fix these diagram to center of div and automatically fit the div on initialization for that purpose i was using
->this.diagram.initialContentAlignment = go.Spot.Center
then i use
->this.diagram.autoScale=go.Diagram.Uniform;but the diagram render at the top right corner of div instead of center
and the diagram is not scaling to div size the red border marks the boundary of diagram
Posts: 7
Participants: 2