Android Question Question about [B4X] [XUI] Gauge View

ThePuiu

Active Member
Licensed User
Longtime User
Is it possible to have 2 areas say 0 to 30 and 70 to 100 colored in red, and the rest of the scale to be green?
 

ThePuiu

Active Member
Licensed User
Longtime User
yes, it is!
B4X:
Gauge.SetRanges(Array(Gauge.CreateRange(30, 80, xui.Color_Green), _
        Gauge.CreateRange(80, 100, xui.Color_Red),Gauge.CreateRange(0, 30, xui.Color_Red)))
 
Upvote 0
Top