Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

Diagram positioning

$
0
0

@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
initial

Posts: 7

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles