LinearScale

The linear scale in a linear Gauge is referred to as LinearScale. LinearScale is the parent of ScaleLabels, MajorTicks and MinorTicks. Please refer to the figure below:

 

LinearScale.JPG

 

Usage:

 

<vg:Gauge.LinearScales>

<vg:LinearScale>

.

.

.

</vg:LinearScale>

</vg:Gauge.LinearScales>

 

List of attributes:

 

Attribute

Function

BorderBrush

Sets the border color of a scale.

BorderThickness

Sets the thickness of a scale.

Background

Sets the background color of a scale.

EndMargin

Sets the margin at the end of the scale. Range is 0 - 1.

Href

Sets the hyper link (http:// is required).

HrefTarget

Sets where the URL specified in Href to be opened.

Interval

Sets how frequently the ScaleLables, MajorTicks must appear.

Logarithmic

Sets whether the scale is Logarithmic or not.

LogarithmBase

Sets the base of the logarithm for Logarithmic scale.

Maximum

Sets the largest value that must appear on the scale.

Minimum

Sets the smallest value that must appear on the scale.

Opacity

Opacity can be used to make any element transparent or opaque.

Orientation

Sets the orientation for scale. Default value is Vertical.

Position

Sets the position of the linear scale. Default value varies depending upon the vertical and horizontal scale. Range is 0 - 1 for each coordinate.

Prefix

Sets the prefix that will be added to all the ScaleLabels. (Prefix + ScaleLabels)

ScalingSet

ScalingSet can be used to dynamically add units to the scale label values.

ScaleThickness

Sets the thickness of a scale. Range is 0 - 1.

ShadowEnabled

Enables or disables shadow to the element.

StartMargin

Sets the margin at the start of the scale. Range is 0 - 1.

Suffix

Sets the suffix that will be added to all the ScaleLabels. (ScaleLabels + Suffix)

ThermometerBulbOffset

Sets the offset of the thermometer bulb. Range is 0 - 1.

ThermometerBulbSize

Sets the size of the thermometer bulb. Range is 0 - 1.

ToolTipText

Sets the tool tip content for the scale.

ValueFormatString

Sets the format string that will be used to convert the numbers that will be displayed on the scale.