I am trying to change the color of a milestone with a dynamic color. I am able to do this successfully for regular tasks but when it comes to milestones the styling is applied to the background as seen in the image below where I would like the diamond to be green with no green background;
I can change the milestone using a static css rule like so;
.b-milestone-wrap .b-gantt-task.b-milestone.mstone .b-gantt-task-content,
.b-task-rollup.important {
background-color : #222;
}
However due to the nature of my application the color is not immediately known so I have to apply it in a dynamic manner.
I've attempted to change it through the taskRenderer by modifying the renderData style but the outcome is the same.