View Full Version : 3 color Gauge

3 Apr 2014, 6:39 AM
Hello all -

I am fairly new to Sencha's products and am currently working on a Gauge. So far I have everything working correctly. But I would like to add a greater visual experience for my users and I can't figure out how to do it or if it can be done.

This is what I want:

if (value < 1.5) - set colorSet to red
if (value > 1.5 && value < 3.5) - set colorSet to yellow
if (value > 3.5 - set colorSet to green

It's so simple yet I cannot get it to work!


3 Apr 2014, 11:43 AM
Since it is fill based, my initial thought would be to create 3 series that overlap.

4 Apr 2014, 8:15 AM
Could you please provide me with some sample code?

4 Apr 2014, 8:37 AM
Well.. that flat out did not work .. see if this will provide what you are looking for: