I have a requirement from our Marketing department to try and include a shape in the Org Chart box that is color coded based on a contains value in the Department field. I've been able to accomplish the conditional color coding with the border color, but adding a shape to the box is much harder...
Here's an example of what we have, and what we'd like to do:
You may use :before or :after pseudo elements to add stripes to the boxes. You would need to add a separate class for boxes in each department and then apply custom CSS for those boxes.
Hi @turtlgal,
It's even easier if you want to customize every box the same way, you can do without JS, just use the CSS rule for the following two classes:
This will add the green stripe to every box in your Org Chart.
Alternatively, if you want to apply a custom class as above to boxes based on a different rule (some other that department) you only need to change the "if" condition inside the handler in onBoxRendered event.