I have encountered a problem while creating a measurement widget of Power Factor value via RadialGauge. As you look at the screen of the gauge, I need to make a center value equal to 1, to the left going to -0.60, to the right 0.60. I could not find how to make it possible.
yes. The case is I want to signalize value of Power Factor, which is mostly around ±1. The first screen (RadialGauge) is mine work and I do not need to recreate it. I am sending a new screen how I intended it, but do not know if it possible to make it real in mappView:
The radial gauge always goes from “minValue” to “maxValue” - in a linear way. This cannot be changed.
The simplest solution would be to do a little “tweaking”:
Remove the numbers from the gauge (setting textColor to transparent) - and put some labels with the needed numbers on top of the gauge.
The only thing to do is to map the power factor value, to the configured range of the gauge (in my case -0,6 - 0.6) … should be simple math.
yes, this seems like the only possible way. I was thinking about some math scaling, but wanted to know if I can create desired gauge just from its settings.