I've tried to search for previous this, but I have not been successful.
First off, I'm following this as a guideline:
http://wijmo.com/files/img/lineargauge_orientation.png
The needle thus moves in response to a measure.
There are similar concepts based on the speedometer, but it's arranged in a circular fashion.
I'm currently have a picture with all the needle positions layered on top of the gauge markings and trying to use BAR to manipulate it to show the needle at the correct position at the same time.
I was just wondering if there was an easier way, such as a ROTATOR function that can be implemented horizontally or vertically.
It is currently May 3rd, 2024, 11:35 pm
Is it possible to make a horizontal needle gauge?
-
- Posts: 5
- Joined: March 2nd, 2012, 2:33 am
-
- Moderator
- Posts: 1931
- Joined: January 29th, 2010, 1:43 am
- Location: Willmar, MN
Re: Is it possible to make a horizontal needle gauge?
Code: Select all
[Variables]
GaugeWidth=100
[Measure]
Measure=Calc
Formula=Measure%100+1
[Background]
Meter=Image
SolidColor=255,0,0,255
H=20
W=100
[Needle]
Meter=Image
Solidcolor=0,255,0,255
H=20
W=2
X=(#GuageWidth#*([Measure]/100))
DynamicVariables=1
GitHub | DeviantArt | Tumblr
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
This is the song that never ends. It just goes on and on my friends. Some people started singing it not knowing what it was, and they'll continue singing it forever just because . . .
-
- Posts: 5
- Joined: March 2nd, 2012, 2:33 am
Re: Is it possible to make a horizontal needle gauge?
Thank you for saving me hours of unnecessary work. Though I wonder why I haven't seen this around before.