CircularScale

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

 

CircularScale.JPG

 

Usage:

 

<vg:Gauge.CircularScales>

<vg:CircularScale>

.

.

.

</vg:CircularScale>

</vg:Gauge.CircularScales>

 

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.

Center

Sets the center position of a scale. Default value is (0.5, 0.5). Range is 0 - 1 for each coordinate.

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.

Prefix

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

Radius

Sets the radius of a circular scale.

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.

StartAngle

Sets the start angle of a circular scale.

Suffix

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

SweepAngle

Sets the sweep angle for a circular scale.

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.