ThePuiu Active Member Licensed User Longtime User Dec 5, 2019 #1 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?
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 Dec 5, 2019 #2 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
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)))