Chart - set color bar

Ah, ok ....
I saw your example in this post ...

and I'm trying to modify the code ...

Thank you .....