@jvasanthu wrote:
Hi Walter
How to disable the node and grey out the color
i am doing below but it is not greying out.myDiagram.nodes.each(function(n) {
var shape = n.findObject("SHAPE");
if (shape) shape.fill = $(go.Brush, "Linear", { 0: '#A9A9A9', 1: go.Brush.lightenBy('#A9A9A9', 0.05), start: go.Spot.Left, end: go.Spot.Right });
}
Posts: 2
Participants: 2