Good Morning,
I am using the xamOrgChart control to display a hierarchy of charges. Each node contains an old value, a new value and a difference value. I am using the NodeControlAttachedEvent to color the background of each node based on the difference value and defined percentages. ie. Nodes that have a 5% difference are yellow, 20% are orange and greater than that are red.
I would like to make these percentages user defined. If the user changes the percentage for the coloring, the background of all the nodes would update for them. Is there a way to force refresh or redraw the org chart, so it would call the NodeControlAttachedEvent and update the colors, or is there a better way I should be accomplishing this? I have tried quite a few things with no luck.
Thank you in advance for your assistance!
HI Alicia,
I am attaching a sample that creates a style targeting the OrgChartNodeControl. I do a muiltibinding on the Background.
Please review my sample.
Hi Matt, I was able to style my org chart node using your example. Thank you!!
HI,
Please let me know if you need further assistance regarding this issue.