kyledonohue
Canvas Initiate

Change calculated value text colour depending on value range

Hi,

 

I would like to set up a rule so if a calculated value is >0 then the text colour changes to green and if the value is <0 then it changes to red. 

 

Thanks,

Kyle 

0 Kudos
Reply
1 Reply
nico
Process Pupil

Re: Change calculated value text colour depending on value range

You can achive this with a realy simple rule : 

nico_0-1611737487086.png

 

But with this, if you control is empty, your text will be in red.

 

If you want an advenced system. You need to use 3 rules : 

rule 1 in case > 0rule 1 in case > 0Rule 2  in case < 0Rule 2 in case < 0

 

Rule 3, in case empty or = 0Rule 3, in case empty or = 0

 

 

 

0 Kudos
Reply