It is currently June 18th, 2024, 10:59 pm

non-zero minimum value for line meter

Get help with creating, editing & fixing problems with skins
pentboiler
Posts: 2
Joined: September 1st, 2010, 11:53 pm

non-zero minimum value for line meter

Hi all. New to the forum and to rainmeter. I have constructed a temperature skin for myself that includes strings and line meters. I'm monitoring all 4 cores of my quad cpu and what I've noticed is that, since the temperatures are >= ~40C the lines are all shifted to the top of the line meter. This is because the minimum value of the line meter is zero by default. Consulting the manual indicates that there is no option to change the minimum value of the line meter from zero. Does anyone know if it possible to change this minimum value? it would be quite useful.

One nice option would be to have the minimum of the graph set based on the minimum over the viewable history of the line meter. This option is already used to set the maximum of the line graph so that it always appears in the viewable window. It seems very limiting to assume that zero is always the minimum of the graph.
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: non-zero minimum value for line meter

I suggest using a calc measure to translate the temperature into the range that you desire.

Code: Select all

``````[msTrans]
Measure=Calc
Formula=msTemp-40
MinValue=0
MaxValue=200
``````
Or something like that. Then use the translated value for the meter.
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 . . .
pentboiler
Posts: 2
Joined: September 1st, 2010, 11:53 pm

Re: non-zero minimum value for line meter

smurfier wrote:I suggest using a calc measure to translate the temperature into the range that you desire.

Code: Select all

``````[msTrans]
Measure=Calc
Formula=msTemp-40
MinValue=0
MaxValue=200
``````
Or something like that. Then use the translated value for the meter.
Right on! That worked like a charm. I didn't come across calc in the manual.

Thanks much.