[Interactive JavaScript Diagrams (Go JS)] OrgChartEditor Screen
Question
Forge component by Pramod Jain
Application Type
Reactive

How can we fill the color of node 

Hi,

It depends on how you are building the diagram or graph and what elements you are using to represent the form.

For example, if you use the Shape element in an org chart, you'll have to review the GoJS API (https://gojs.net/latest/api/symbols/Shape.html) and to locate the property you need. In this case, the property would be "fill". Then you will have to adapt the code in OutSystems in order to accomplish it. In this case, you can add an input parameter to send the color to jscript code.

Kind regards, David.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.