Bar Graph Colors determined by values

No easy way - though there was a discussion fairly recently on how to use a template to achieve it.
I think it may have been this one Battery gauge load msg.payload into javascript [Resolved]