Class RadialScale
Represents radial scale.
Inherited Members
Namespace: Telerik.Windows.Controls.Gauge
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public class RadialScale : GraphicScale, IThemable
Constructors
RadialScale()
Initializes a new instance of the RadialScale class.
Declaration
public RadialScale()
Fields
CenterProperty
Identifies the Center dependency property.
Declaration
public static readonly DependencyProperty CenterProperty
Field Value
System.
|
LabelRotationModeProperty
Identifies the LabelRotationMode dependency property.
Declaration
public static readonly DependencyProperty LabelRotationModeProperty
Field Value
System.
|
RadiusProperty
Identifies the Radius dependency property.
Declaration
public static readonly DependencyProperty RadiusProperty
Field Value
System.
|
RotationModeProperty
Identifies the RotationMode dependency property.
Declaration
public static readonly DependencyProperty RotationModeProperty
Field Value
System.
|
StartAngleProperty
Identifies the StartAngle dependency property.
Declaration
public static readonly DependencyProperty StartAngleProperty
Field Value
System.
|
SweepAngleProperty
Identifies the SweepAngle dependency property.
Declaration
public static readonly DependencyProperty SweepAngleProperty
Field Value
System.
|
Properties
Center
Gets or sets the center of the radial scale.
Declaration
[SRCategory("Layout")]
public Point Center { get; set; }
Property Value
System.
|
LabelRotationMode
Gets or sets label rotation mode.
Declaration
[SRCategory("Layout")]
public RotationMode LabelRotationMode { get; set; }
Property Value
Radius
Gets or sets outer radius of the radial scale. Should be from 0 to 1.
Declaration
[SRCategory("Layout")]
public double Radius { get; set; }
Property Value
System.
|
StartAngle
Gets or sets the start angle of the radial scale.
Declaration
[SRCategory("Layout")]
public double StartAngle { get; set; }
Property Value
System.
|
SweepAngle
Gets or sets the sweep angle of the radial scale.
Declaration
[SRCategory("Layout")]
public double SweepAngle { get; set; }
Property Value
System.
|
Methods
CalculateCellSize()
Calculate cell size of the scale.
Declaration
protected override Size CalculateCellSize()
Returns
System.
|
Overrides
GetObjectPosition(FrameworkElement, ScaleObjectLocation, GaugeMeasure, Double)
Gets position of the object over the scale.
Declaration
protected override Point GetObjectPosition(FrameworkElement element, ScaleObjectLocation location, GaugeMeasure offset, double value)
Parameters
System. Element to get position for. |
Scale Scale object location. |
Gauge Offset from the location. |
System. Value along the scale. |
Returns
System. Position of the object over the scale. |
Overrides
GetRotationMode(DependencyObject)
Gets value of the attachable RotationMode property.
Declaration
public static RotationMode GetRotationMode(DependencyObject element)
Parameters
System. Element to get value of the property from. |
Returns
Rotation Value of the RotationMode property. |
GetValueByPoint(Point)
Gets the value which corresponds to the point on scale.
Declaration
public override double GetValueByPoint(Point point)
Parameters
System. Point on the scale to get value for. |
Returns
System. Double value corresponds to the given point. |
Overrides
OnInitialized(EventArgs)
Raises the System.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
System. The System. |
SetRotationMode(DependencyObject, RotationMode)
Sets value of the attachable RotationMode property.
Declaration
public static void SetRotationMode(DependencyObject element, RotationMode value)
Parameters
System. Element to set value of the property to. |
Rotation RotationMode of the element. |
UpdateScaleBar()
Update geometry of the scale bar.
Declaration
protected override void UpdateScaleBar()