Dynamic Chart Series colors

I have a chart component which i have configured to have the appearance seen below.

I was able to setup the colors to initialize the way i want them to by setting the series color based on the column header. However, this is going to act as a sort of Pareto bar chart. the green section will always be first but the other section will be ordered by value in a descending manner. Currently i am unable to get the series to change colors to match the column header when the order changes on the component after it has already been loaded onto the screen.

Is there a way to do this or a way to re-trigger the configure chart extension function? thanks for your time.

I have figured this out. i had an error in my code that wasn’t throwing a message.