Hot answers tagged gauges
5
I think HorizontalGauge is just buggy. It shouldn't trigger a dynamic update when you change its state but it does. Simplest case:
HorizontalGauge[Dynamic[x]] // Dynamic
I would try using this "fixed" version
horizontalGauge = Refresh[HorizontalGauge[##], None] &
By the way, you could stick this into the built-in symbol's definition, and perhaps if ...
3
Adding the option TrackedSymbols :> {LowerLimit, UpperLimit} to the Dynamic[..] that holds HorizontalGauge fixes the issue:
DynamicModule[{y = 1, LowerLimit = 1, UpperLimit = 10},
Column[{Row[{PopupMenu[Dynamic[LowerLimit], {1, 2, 3, 4}],
PopupMenu[Dynamic[UpperLimit], {5, 6, 7, 8, 9, 10}]}],
Dynamic[HorizontalGauge[Dynamic[y], {LowerLimit, ...
1
For #2, you can adjust ScaleOrigin to set start/end angle to be wherever you like say you want 0 at angle $\theta$ use ScaleOrigin->{\[Theta]-2\[Pi],\[Theta]} or interchange the order to have the gauge increase in the other direction.
AngularGauge[Dynamic[x], {0, 360}, ScaleDivisions -> {20, 2},
ScaleOrigin -> {Pi/2, (-3 Pi)/2}, ImageSize -> ...
Only top voted, non community-wiki answers of a minimum length are eligible