It is currently March 28th, 2024, 9:15 am

Meter Plugin Question

Get help with creating, editing & fixing problems with skins
Post Reply
†Blade†
Posts: 24
Joined: May 11th, 2010, 7:43 am
Location: Wellington, OH
Contact:

Meter Plugin Question

Post by †Blade† »

Hi, I have downloaded various Network monitoring skins, but have noticed that all of them show you bytes if you drop below 1kB.
Is there a way to set a max graph value and have it only show in kB and mB and not bytes?

Ex: I want a graph that maxes out at the top of my internet connection speed(360kB/s) and have it show 0kB/s if it's anything below 1KB/sec instead of like.. 647B
User avatar
JpsCrazy
Posts: 667
Joined: April 18th, 2010, 2:16 pm
Location: NY, USA

Re: Meter Plugin Question

Post by JpsCrazy »

In the Measure section for this, add MaxValue and MinValue.
I'm guessing it is measured in by bytes, as most everything is in it's smallest value here.

But post the code, it may be simpler/harder than that.

Remember: 1,000 bytes DOES NOT equal 1 kilobyte.
There's actually 1,024.
So MaxValue would be 368640.
MinValue would be 1024.
Again, with the skin it may not be this simple.
It sounds like there's a calc value being applied to the measure with conditions.
User avatar
smurfier
Moderator
Posts: 1931
Joined: January 29th, 2010, 1:43 am
Location: Willmar, MN

Re: Meter Plugin Question

Post by smurfier »

Check your skin for any instance of AutoScale and remove them. Then you'll have to do the math.
†Blade†
Posts: 24
Joined: May 11th, 2010, 7:43 am
Location: Wellington, OH
Contact:

Re: Meter Plugin Question

Post by †Blade† »

K, I tried what you said but it did not seem to change anything with the meter so I'm guessing there is another culprit.
The code for the net meter is down below(I unmodified what you told me to do, so that's how it initially looked), let's see if we can figure this thing out!. Lol

Code: Select all

[Rainmeter]
;----------------------
[MeterSquareb]
Meter=Image
X=20
Y=20
W=20
H=25
SolidColor=0, 0, 0,120

[MeterSquareb1]
Meter=Image
X=102
Y=20
W=20
H=25
SolidColor=0, 0, 0,120
;----------------------
[MeterSquare1]
Meter=Image
X=20
Y=18
W=160
H=2
SolidColor=0, 0, 0,255

[MeterSquare2]
Meter=Image
X=20
Y=45
W=160
H=2
SolidColor=0, 0, 0,255

[MeterSquare3]
Meter=Image
X=18
Y=18
W=2
H=29
SolidColor=0, 0, 0,255

[MeterSquare4]
Meter=Image
X=180
Y=18
W=2
H=29
SolidColor=0, 0, 0,255

[MeterSquare5]
Meter=Image
X=40
Y=20
W=2
H=25
SolidColor=0, 0, 0,255

[MeterSquare6]
Meter=Image
X=100
Y=20
W=2
H=25
SolidColor=0, 0, 0,255

[MeterSquare7]
Meter=Image
X=122
Y=20
W=2
H=25
SolidColor=0, 0, 0,255
;----------------------
[MeterSquareh1]
Meter=Image
X=182
Y=30
W=20
H=2
SolidColor=0, 0, 0,255
;--------------------------NET--------


[MeasureNetIn]
Measure=NetIn

[MeasureNetOut]
Measure=NetOut
;-----------------------------------------------
[MeterNetOut.txt]
Meter=STRING
X=101
Y=44
AntiAlias=1
FontFace=bignoodletitling
StringStyle=Bold
FontSize=16
FontColor=0,0,0,255
StringAlign=LEFT
Angle=4.71
Prefix="UP"

[MeterNetOut]
Meter=STRING
MeasureName=MeasureNetOut
X=132
Y=19
FontColor=0,0,0,200
StringStyle=bold
FontSize=7
StringAlign=LEFT
FontFace=tahoma
AntiAlias=1
AutoScale=1
Text="%1B"
NumOfDecimals=1

[MeterNetOutgraph1]
Meter=Line
MeasureName=MeasureNetOut
X=124
Y=21
H=25
W=56
LineCount=1
LineColor=0,0,0,100
AntiAlias=1
AutoScale=1

[MeterNetOutgraph2]
Meter=HISTOGRAM
MeasureName=MeasureNetOut
X=124
Y=21
H=24
W=56
PrimaryColor=0,0,0,60
AntiAlias=1
AutoScale=1


;-----------------------------------------------

[MeterNetIn.txt]
Meter=STRING
X=19
Y=44
AntiAlias=1
FontFace=bignoodletitling
StringStyle=Bold
FontSize=16
FontColor=0,0,0,255
StringAlign=LEFT
Angle=4.71
Prefix="DL"

[MeterNetIn]
Meter=STRING
MeasureName=MeasureNetIn
X=50
Y=19
FontColor=0,0,0,200
StringStyle=bold
FontSize=7
StringAlign=LEFT
FontFace=tahoma
AntiAlias=1
AutoScale=1
Text="%1B"
NumOfDecimals=1

[MeterNetIngraph1]
Meter=Line
MeasureName=MeasureNetIn
X=42
Y=21
H=25
W=58
LineCount=1
LineColor=0,0,0,100
AntiAlias=1
AutoScale=1

[MeterNetIngraph2]
Meter=HISTOGRAM
MeasureName=MeasureNetIn
X=42
Y=21
H=24
W=58
PrimaryColor=0,0,0,60
AntiAlias=1
AutoScale=1




Post Reply