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:
Usage:
<vg:Gauge.LinearScales>
<vg:LinearScale>
.
.
.
</vg:LinearScale>
</vg:Gauge.LinearScales>
List of attributes:
Attribute |
Function |
Sets the border color of a scale. |
|
Sets the thickness of a scale. |
|
Sets the background color of a scale. |
|
Sets the margin at the end of the scale. Range is 0 - 1. |
|
Sets the hyper link (http:// is required). |
|
Sets where the URL specified in Href to be opened. |
|
Sets how frequently the ScaleLables, MajorTicks must appear. |
|
Sets whether the scale is Logarithmic or not. |
|
Sets the base of the logarithm for Logarithmic scale. |
|
Sets the largest value that must appear on the scale. |
|
Sets the smallest value that must appear on the scale. |
|
Opacity can be used to make any element transparent or opaque. |
|
Sets the orientation for scale. Default value is Vertical. |
|
Sets the position of the linear scale. Default value varies depending upon the vertical and horizontal scale. Range is 0 - 1 for each coordinate. |
|
Sets the prefix that will be added to all the ScaleLabels. (Prefix + ScaleLabels) |
|
ScalingSet can be used to dynamically add units to the scale label values. |
|
Sets the thickness of a scale. Range is 0 - 1. |
|
Enables or disables shadow to the element. |
|
Sets the margin at the start of the scale. Range is 0 - 1. |
|
Sets the suffix that will be added to all the ScaleLabels. (ScaleLabels + Suffix) |
|
Sets the offset of the thermometer bulb. Range is 0 - 1. |
|
Sets the size of the thermometer bulb. Range is 0 - 1. |
|
Sets the tool tip content for the scale. |
|
Sets the format string that will be used to convert the numbers that will be displayed on the scale. |