It is currently May 3rd, 2024, 1:43 am

[Solved] First skin, Altering line graph weight and ampli...

Get help with creating, editing & fixing problems with skins
GIR
Posts: 4
Joined: December 14th, 2010, 9:52 pm

[Solved] First skin, Altering line graph weight and ampli...

Post by GIR »

G'day all, just messing using P I L E U S suite, i easily managed to access multiple core loads for quad core set ups. My main issue revolves around how thin the line in the bar graph is, is there any way to change this, i have looked in the support docs on the site and other skins with no success, any recomendations, as a heavier line would be very helpful.

Also, how do i change the amplitude of the graph as changing the height of the graph does not alter the actual graph/wave forms height ( stays to the orig scale) however if i extend the width i can see action over a longer period of time.

finaly, i am unfimiliar with how these dll plug ins work, as probably high lighted by some one else, the mhz is not actualy core speed but infact fsb, any known way to work around this?

Many thanks
GIR
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: First skin, Altering line graph weight and amplitude

Post by jsmorley »

GIR wrote:G'day all, just messing using P I L E U S suite, i easily managed to access multiple core loads for quad core set ups. My main issue revolves around how thin the line in the bar graph is, is there any way to change this, i have looked in the support docs on the site and other skins with no success, any recomendations, as a heavier line would be very helpful.

Also, how do i change the amplitude of the graph as changing the height of the graph does not alter the actual graph/wave forms height ( stays to the orig scale) however if i extend the width i can see action over a longer period of time.

finaly, i am unfimiliar with how these dll plug ins work, as probably high lighted by some one else, the mhz is not actualy core speed but infact fsb, any known way to work around this?

Many thanks
GIR
I assume you looked here: http://rainmeter.net/cms/Meters-Line
I would think that LineWidth= would be of interest, and perhaps AutoScale.

As to the Power plugin, we are actually improving that as we speak. Stay tuned.
GIR
Posts: 4
Joined: December 14th, 2010, 9:52 pm

Re: First skin, Altering line graph weight and amplitude

Post by GIR »

jsmorley wrote: I assume you looked here: http://rainmeter.net/cms/Meters-Line
I would think that LineWidth= would be of interest, and perhaps AutoScale.

As to the Power plugin, we are actually improving that as we speak. Stay tuned.
i did look there

feel like a tit :oops:

hmm cant get the line width to work...

here is the code with out the line, can some one please point me in the right direction with that and how to use auto scale.

Code: Select all

[Backing]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=0
Y=0
W=(#IconSize# + 180)
H=60
[Icon1]
Meter=IMAGE
ImageName=#SkinsPath#\Pileus\Resources\Images\Icon Set #Icon Set#\#IconCPU#.png
X=r
Y=r
W=#IconSize#
H=#IconSize#
AntiAlias=1
LeftMouseDownAction=!Execute [!RainmeterShowMeter IconActive1][!RainmeterHideMeter Icon1][!RainmeterRedraw]

[IconActive1]
Meter=IMAGE
ImageName=#SkinsPath#\Pileus\Resources\Images\Icon Set #Icon Set#\#IconActive#.png
X=r
Y=r
W=#IconSize#
H=#IconSize#
AntiAlias=1
Hidden=1
LeftMouseUpAction=!execute ["#Task#"][!RainmeterShowMeter Icon1][!RainmeterHideMeter IconActive1][!RainmeterRedraw]

[IconBack1]
Meter=IMAGE
SolidColor=0, 0, 0, 2
X=r
Y=r
W=#IconSize#
H=#IconSize#

[Title1]
Meter=STRING
X=#IconSize#r
Y=12r
FontColor=#TitleColor#
FontFace=#TitleFont#
FontSize=18
StringAlign=LEFT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1
Text="Quad"

[TitleButton1]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=r
Y=r
W=50
H=14
LeftMouseDownAction=!Execute [!RainmeterShowMeter TitleButton2][!RainmeterHideMeter TitleButton1][!RainmeterHideMeter CPUMHz][!RainmeterHideMeter CPUidle][!RainmeterRedraw]

[TitleButton2]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=r
Y=r
W=50
H=14
Hidden=1
LeftMouseDownAction=!Execute [!RainmeterShowMeter TitleButton3][!RainmeterHideMeter TitleButton2][!RainmeterShowMeter CPUMHz][!RainmeterShowMeter CPUidle][!RainmeterHideMeter CPUgraph1][!RainmeterHideMeter CPUgraph2][!RainmeterHideMeter Separator1][!RainmeterHideMeter Separator2][!RainmeterRedraw]

[TitleButton3]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=r
Y=r
W=50
H=14
Hidden=1
LeftMouseDownAction=!Execute [!RainmeterShowMeter TitleButton1][!RainmeterHideMeter TitleButton3][!RainmeterShowMeter CPUgraph1][!RainmeterShowMeter CPUgraph2][!RainmeterShowMeter Separator1][!RainmeterShowMeter Separator2][!RainmeterRedraw]

[CPUMHz]
Meter=STRING
MeasureName=MeasureCPUMHz
X=32r
Y=5r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=16
StringAlign=LEFT
;StringEffect=SHADOW
StringStyle=NORMAL
AntiAlias=1
PreFix=" - "
PostFix=" MHz"
Hidden=#ShowStats#

[CPUidle]
Meter=STRING
MeasureName=Mse_CPUIdle
X=(175 + #IconSize#)
Y=r
FontColor=#FontColor#
FontFace=#FontName#
FontSize=12
;StringEffect=SHADOW
StringAlign=Right
AntiAlias=1
AutoScale=1
NumOfDecimals=0
Prefix="Idle : "
Postfix="%"
Hidden=#ShowStats#

[Separator1]
Meter=IMAGE
SolidColor=#BarColor1#
X=-175r
Y=13r
H=1
W=175
Hidden=#ShowLine#

[Separator2]
Meter=IMAGE
SolidColor=#BarColor1#
X=r
Y=2r
H=1
W=175
Hidden=#ShowLine#

[CPUGraph1]
Meter=Line
MeasureName=MeasureCPU0
X=r
Y=r
H=45
W=300
LineCount=1
LineColor=#BarColor3#
AntiAlias=1
Hidden=#ShowLine#

[CPUGraph2]
Meter=Line
MeasureName=MeasureCPU1
X=r
Y=32r
H=45
W=300
LineCount=1
LineColor=#BarColor3#
AntiAlias=1
Hidden=#ShowLine#

[CPUGraph3]
Meter=Line
MeasureName=MeasureCPU2
X=r
Y=32r
H=45
W=300
LineCount=1
LineColor=#BarColor3#
AntiAlias=1
Hidden=#ShowLine#

[CPUGraph 4]
Meter=Line
MeasureName=MeasureCPU3
X=r
Y=32r
H=45
W=300
LineCount=1
LineColor=#BarColor3#
AntiAlias=1
Hidden=#ShowLine#

edit:


never mind sorted it thanks for your help
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: First skin, Altering line graph weight and amplitude

Post by jsmorley »

Create a folder in \Skins called Test or something and create test.ini in there and put this in it:

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1

[MeasureBackground]
Meter=Image
W=110
H=60
SolidColor=150,150,150,255

[MeasureNetIn]
Measure=NetIn

[MeasureNetOut]
Measure=NetOut

[MeterNetworkLine]
Meter=Line
MeasureName=MeasureNetOut
MeasureName2=MeasureNetIn
X=5
Y=5
W=100
H=50
LineCount=2
LineColor=140,252,124,255
LineColor2=254,211,122,255
LineWidth=2
SolidColor=0,0,0,255
AutoScale=1
AntiAlias=1
Now refresh Rainmeter and load the skin.

You should be able to see the impact of LineWidth= on the skin by just changing it to 1 or 3 or 5 and refreshing the skin. It's not complicated. The line is just thicker or thinner depending on this setting.

As to the height, I promise that the Line meter will obey the H= setting for the meter. If you make the H= bigger, the meter will be taller and Rainmeter will adjust to try and use as much of the height as possible given the scale and current value.

Try different AutoScale settings on this sample, but I find that unless you have a very constant input, with few or no "spikes" in the values, or can know what MaxValue= to set on the supporting measures, you are better off with AutoScale=1 which will automatically scale the line's "amplitude" to keep periods of high values from blowing out the top or periods of low values from being invisibly small.

Edit: Drat, I was posting when you edited to say you figured it out. Good deal.