Reassigning values to an Arc's style

I have also tried invalidating the object after, that doesnt change the outcome.