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

Create progress bar

$
0
0

@loind-1875 wrote:

I creating a progress bar to each node.


And i have created shape Rectangle for pregress bar.
// add Rectangle progess
(go.Shape, "Rectangle", { width: 180, height: 3, fill: "#f22d4e", strokeWidth: 0, margin: new go.Margin(10, 0, 8, 15), alignment: go.Spot.BottomLeft }), (go.TextBlock, textBlack(), {
width: 230,
height: 15,
font: “bold 9pt ‘Comfortaa’, cursive”,
margin: new go.Margin(0, 0, 5, 0),
textAlign: “right”,
verticalAlignment: go.Spot.Right,
alignment: go.Spot.Bottom
},
// show completion in group node on tree
new go.Binding(“text”, “completion”, function (completion) { return completion + ‘%’; })),
Now, i create for reactange fixed width is 180. I want pass data from data from response api. How i can do it?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles