Hi I made this face couple of weeks back and need to update to show the Green Red and orange buttons based on a HR range.
https://www.facer.io/watchface/2l6rDtbWUM?watchModel=galaxywatch4black
I was thinking something like:
So for example Green is shown if HR is between = 60-90
Orange 0-89
Red 91-200
2 Likes
On thbeach at the moment but it goes something like this.
$#HR#>=0&&#HR #<60?100:0$
In the opacity for your button image.
Chang up the numbers for your range.
Only you can tell which colour is good for the different rates. I would have thoudght anyhing arond 10 was a disaster
3 Likes
you could even have the opacity fade using the HR value, something like:
orange: $#HR#<90?(#HR #*1.1):0$
green: $#HR#>=60&&#HR #<90?(#HR # * 1.1):0$
red: $#HR#>90&&#HR #<200?(#HR # * .5):0$
I multiply by 1.1 to get full opacity when it hits 90, and by .5 when 200
(removes spaces in the formula…)
3 Likes
@tom.vannes You can protetct your code on here by embracing it with </> above. But any way some extra () never go wrong.
3 Likes
This forum is amazing such fast responses thanks all I give it go now!
2 Likes
icrltd4
September 2, 2022, 1:12pm
7
Told you someone would help sooner or later
1 Like