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