You can "indicate" negative values on the meter with some labels, but that would really preclude using AutoScale on it (which I hate anyway) and only indicates a "negative" or "positive" direction of change by where on the meter the value is plotted. Other than the direction the "line" goes, up or down, that is the only indication possible of the direction of change.
Requires the latest Rainmeter 3.3 beta version:
Code: Select all
[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1
[MeasureValue]
Measure=Loop
StartValue=-10
EndValue=10
Increment=1
LoopCount=0
MinValue=-10
MaxValue=10
[MeterLine]
Meter=Line
MeasureName=MeasureValue
W=210
H=70
LineCount=1
LineColor=140,252,124,255
SolidColor=37,47,57,255
AntiAlias=1
[MeterMiddle]
Meter=Image
W=210
H=1
X=0
Y=35
SolidColor=120,120,120,255
[MeterPlus]
Meter=String
X=217
Y=0
FontSize=9
FontColor=120,120,120,255
Antialias=1
Text=10
[MeterZero]
Meter=String
X=222
Y=29
FontSize=9
FontColor=120,120,120,255
Antialias=1
Text=0
[MeterMinus]
Meter=String
X=212
Y=59
FontSize=9
FontColor=120,120,120,255
Antialias=1
Text=-10
test.gif
I'm probably really just not understanding, but the only way you are going to change the "range" that defines the percentage, and thus change where on the meter a value falls in that percentage, is to dynamically change the MinVaue/MaxValue options on the measure returning the value. Be aware however, that changing the "range" will cause the entire meter to use that new range on the next update. The entire meter will be redrawn using the new values for 0% and 100%.
I think the fundamental problem might be that you are thinking of a Line meter as plotting "values" in some way. It just doesn't. It plots "percentages". There is one, and only one percentage "range" used by the entire meter on each update.
You do not have the required permissions to view the files attached to this post.