Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1729

Help: Rainmeter Skins • Re: Calendar Bar style Shape meter

$
0
0
It's rather large, but if you want the whole thing, here it is...
There are some problems with the [mD[&mDay:]] variable, used into the Shape and Shape2 options of the [7Stat] meter. Try using the string value of this variable, so try replacing the [mD[&mDay:]] variable by [mD[&mDay]]. Note that if you do this, you start getting a division by 0 message. To avoid this one, add an extremely small, but not zero value to the denominator of the divisions (so to the /[&m[#CURRENTSECTION]Total:] element of the formulas used into the Shape and Shape2 options of the mentioned meter). By these the meter looks this way:

Code:

[7Stat]Meter=ShapeMeterStyle=sBarShape=Rectangle 0, 0, ([#[#CURRENTSECTION]]=1?0:#BarW#), (((-#BarH#)/100)*([mD[&mDay]]/([&m[#CURRENTSECTION]Total:]+0.0001))*100) | StrokeWidth 0 | Fill Color [#C[#CURRENTSECTION]],#BarAlpha#Shape2=Rectangle 0, ((((-#BarH#-2)/100)*([mD[&mDay]]/([&m[#CURRENTSECTION]Total:]+0.0001))*100)-2), ([#[#CURRENTSECTION]]=1?0:#BarW#), ([&m[#CURRENTSECTION]:]=0?0:2) | StrokeWidth 0 | Fill Color [#C[#CURRENTSECTION]]
Do you get fixed the issues by this?

Statistics: Posted by balala — Yesterday, 10:02 pm



Viewing all articles
Browse latest Browse all 1729

Trending Articles