Line meter


Meter=Line displays the measure values as a series of data points connected by straight line segments.

Options

General meter options
All general meter options are valid.
LineCount Default: 1
Number of lines in the meter.
MeasureName, MeasureName2, ..., MeasureNameN
Names of the measures to use as the source for a line. The measure(s) used must be able to return percentual values.
LineColor, LineColor2, ..., LineColorN
Color for a line.
LineWidth Default: 1
Width of the line(s) in pixels.
Scale, Scale2, ..., ScaleN Default: 1.0
Scales (multiplies) the measure value to use for a line by the specified number.

Note: If AutoScale is enabled, this option is ignored.
AutoScale Default: 0
If set to 1, the lines are automatically scaled so that the largest value is visible in the meter. Otherwise the largest maximum value of the all of the measures used is used as the scale.
HorizontalLines Default: 0
If set to 1, horizontal marker lines are displayed behind the lines.
HorizontalLineColor Default: 0,0,0,255
Color of the horizontal marker lines (for HorizontalLines=1).
GraphStart Default: Right
Starting point of the graph. Valid values are Left and Right.
GraphOrientation Default: Vertical
Orientation of the graph elements. Valid values are Horizontal and Vertical.
Flip Default: 0
If set to 1, the meter is flipped vertically.
TransformStroke Default: Normal

Determines how the line (stroke) width is treated when TransformationMatrix is used on the meter.

  • Normal (default) : The line width will be impacted by any scale or skew transforms from TransformationMatrix.
  • Fixed : The line width will not be impacted by any transforms from TransformationMatrix. The width will be fixed to the width defined in LineWidth.

Example

[Rainmeter]
Update=1000
AccurateText=1
DynamicWindowSize=1

[Metadata]
Name=ExampleMeterLine
Author=The Rainmeter Team
Information=Example of the Line meter
License=Creative Commons Attribution-Non-Commercial-Share Alike 3.0
Version=1.0

[MeterBackground]
Meter=Image
W=220
H=80
SolidColor=150,150,150,255

[MeasureNetIn]
Measure=NetIn

[MeasureNetOut]
Measure=NetOut

[MeterNetworkLine]
Meter=Line
MeasureName=MeasureNetOut
MeasureName2=MeasureNetIn
X=5
Y=5
W=210
H=70
LineCount=2
LineColor=140,252,124,255
LineColor2=254,211,122,255
SolidColor=0,0,0,255
AutoScale=1
AntiAlias=1

An example skin demonstrating a Line meter.