i m working on graphs i need to align all the node i.e each graph horizontally
i need all 4 to be aligned on the x-axis
i m working on graphs i need to align all the node i.e each graph horizontally
i need all 4 to be aligned on the x-axis
What layout are you using?
Set on each Node set Part.locationSpot to be go.Spot.BottomLeft
and Part.locationObjectName to be the name of the Panel that holds your “bars”. Then you can set the Part.location for each of your nodes to have the same Y value.
i m using grid layout on the diagram and no layout is specified on the nodes
this.diagram.layout=$(go.GridLayout, {
wrappingColumn: Infinity,
alignment: go.GridLayout.Location,
cellSize: new go.Size(1, 1),
spacing: new go.Size(0, 0)
});