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!
PLEASE HELP!
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!
PLEASE HELP!
Aucun commentaire:
Enregistrer un commentaire