Bar series with different style chunks

Is there an easy way to use different brush color along a bar series? I have many different bar series on the same chart. For each series I want to set a different color for some chunks.
For example:
I series
from x-value = 5000 to x-value = 5100 set BrushColor="green";
from x-value = 5200 to x-value = 6000 set BrushColor="red";

II series
from x-value = 4000 to x-value = 4150 set BrushColor="yellow";

If it's possible, I would like to see an example.

Thank you for your support.