Class
RadialScale

Represents radial scale.

Definition

Namespace:Telerik.Windows.Controls.Gauge

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

cs-api-definition
public class RadialScale : GraphicScale

Inheritance: objectScaleBaseGraphicScaleRadialScale

Derived Classes: QuadrantNEScaleQuadrantNWScaleQuadrantSEScaleQuadrantSWScaleSemicircleEastScaleSemicircleNorthScaleSemicircleSouthScaleSemicircleWestScale

Inherited Members GraphicScale.DistributionPropertyGraphicScale.EndTickOffsetPropertyGraphicScale.EndWidthPropertyGraphicScale.FillPropertyGraphicScale.IsReversedPropertyGraphicScale.LabelFormatPropertyGraphicScale.LabelLocationPropertyGraphicScale.LabelOffsetPropertyGraphicScale.LabelTemplatePropertyGraphicScale.LabelTooltipFormatPropertyGraphicScale.LabelToolTipStylePropertyGraphicScale.LabelToolTipTemplatePropertyGraphicScale.LabelUseRangeColorPropertyGraphicScale.MajorTickBackgroundPropertyGraphicScale.MajorTickListPropertyGraphicScale.MajorTickLocationPropertyGraphicScale.MajorTickOffsetPropertyGraphicScale.MajorTickRelativeHeightPropertyGraphicScale.MajorTickRelativeWidthPropertyGraphicScale.MajorTicksPropertyGraphicScale.MajorTickStepPropertyGraphicScale.MajorTickStrokePropertyGraphicScale.MajorTickStrokeThicknessPropertyGraphicScale.MajorTickTemplatePropertyGraphicScale.MajorTickTooltipFormatPropertyGraphicScale.MajorTickToolTipStylePropertyGraphicScale.MajorTickToolTipTemplatePropertyGraphicScale.MajorTickUseRangeColorPropertyGraphicScale.MiddleTickBackgroundPropertyGraphicScale.MiddleTickLocationPropertyGraphicScale.MiddleTickOffsetPropertyGraphicScale.MiddleTickRelativeHeightPropertyGraphicScale.MiddleTickRelativeWidthPropertyGraphicScale.MiddleTicksPropertyGraphicScale.MiddleTickStrokePropertyGraphicScale.MiddleTickStrokeThicknessPropertyGraphicScale.MiddleTickTemplatePropertyGraphicScale.MiddleTickTooltipFormatPropertyGraphicScale.MiddleTickToolTipStylePropertyGraphicScale.MiddleTickToolTipTemplatePropertyGraphicScale.MiddleTickUseRangeColorPropertyGraphicScale.MinorTickBackgroundPropertyGraphicScale.MinorTickLocationPropertyGraphicScale.MinorTickOffsetPropertyGraphicScale.MinorTickRelativeHeightPropertyGraphicScale.MinorTickRelativeWidthPropertyGraphicScale.MinorTicksPropertyGraphicScale.MinorTickStrokePropertyGraphicScale.MinorTickStrokeThicknessPropertyGraphicScale.MinorTickTemplatePropertyGraphicScale.MinorTickTooltipFormatPropertyGraphicScale.MinorTickToolTipStylePropertyGraphicScale.MinorTickToolTipTemplatePropertyGraphicScale.MinorTickUseRangeColorPropertyGraphicScale.RangeLocationPropertyGraphicScale.RangeOffsetPropertyGraphicScale.ShowFirstLabelPropertyGraphicScale.ShowLastLabelPropertyGraphicScale.StartTickOffsetPropertyGraphicScale.StartWidthPropertyGraphicScale.StrokePropertyGraphicScale.StrokeThicknessPropertyGraphicScale.TickRangeGroupPropertyGraphicScale.IsInteractivePropertyGraphicScale.OnApplyTemplate()GraphicScale.ArrangeOverride(Size)GraphicScale.ClearContainerForItemOverride(DependencyObject, object)GraphicScale.MeasureOverride(Size)GraphicScale.PrepareContainerForItemOverride(DependencyObject, object)GraphicScale.PresenterSizeChanged(object, SizeChangedEventArgs)GraphicScale.UpdateTicksAndLabels()GraphicScale.ScaleObjectChanged(FrameworkElement)GraphicScale.DistributionGraphicScale.EndTickOffsetGraphicScale.EndWidthGraphicScale.FillGraphicScale.IsReversedGraphicScale.LabelFormatGraphicScale.LabelLocationGraphicScale.LabelOffsetGraphicScale.LabelTemplateGraphicScale.LabelTooltipFormatGraphicScale.LabelToolTipStyleGraphicScale.LabelToolTipTemplateGraphicScale.LabelUseRangeColorGraphicScale.MajorTickBackgroundGraphicScale.MajorTickListGraphicScale.MajorTickLocationGraphicScale.MajorTickOffsetGraphicScale.MajorTickRelativeHeightGraphicScale.MajorTickRelativeWidthGraphicScale.MajorTicksGraphicScale.MajorTickStepGraphicScale.MajorTickStrokeGraphicScale.MajorTickStrokeThicknessGraphicScale.MajorTickTemplateGraphicScale.MajorTickTooltipFormatGraphicScale.MajorTickToolTipStyleGraphicScale.MajorTickToolTipTemplateGraphicScale.MajorTickUseRangeColorGraphicScale.MiddleTickBackgroundGraphicScale.MiddleTickLocationGraphicScale.MiddleTickOffsetGraphicScale.MiddleTickRelativeHeightGraphicScale.MiddleTickRelativeWidthGraphicScale.MiddleTicksGraphicScale.MiddleTickStrokeGraphicScale.MiddleTickStrokeThicknessGraphicScale.MiddleTickTemplateGraphicScale.MiddleTickTooltipFormatGraphicScale.MiddleTickToolTipStyleGraphicScale.MiddleTickToolTipTemplateGraphicScale.MiddleTickUseRangeColorGraphicScale.MinorTickBackgroundGraphicScale.MinorTickLocationGraphicScale.MinorTickOffsetGraphicScale.MinorTickRelativeHeightGraphicScale.MinorTickRelativeWidthGraphicScale.MinorTicksGraphicScale.MinorTickStrokeGraphicScale.MinorTickStrokeThicknessGraphicScale.MinorTickTemplateGraphicScale.MinorTickTooltipFormatGraphicScale.MinorTickToolTipStyleGraphicScale.MinorTickToolTipTemplateGraphicScale.MinorTickUseRangeColorGraphicScale.RangeLocationGraphicScale.RangeOffsetGraphicScale.ShowFirstLabelGraphicScale.ShowLastLabelGraphicScale.StartTickOffsetGraphicScale.StartWidthGraphicScale.StrokeGraphicScale.StrokeThicknessGraphicScale.TickRangeGroupGraphicScale.IsInteractiveGraphicScale.EndValueGraphicScale.UseTickListGraphicScale.UseTickStepsGraphicScale.MajorTicksCountGraphicScale.StartValueScaleBase.CustomItemsPropertyScaleBase.CustomItemTemplatePropertyScaleBase.CustomItemTemplateSelectorPropertyScaleBase.MaxPropertyScaleBase.MinPropertyScaleBase.MultiplierPropertyScaleBase.RangesPropertyScaleBase.RangeTemplatePropertyScaleBase.PositionObject(DependencyObject)ScaleBase.ResizeObject(DependencyObject)ScaleBase.ResetTheme()ScaleBase.OnCreateAutomationPeer()ScaleBase.GetContainerForItemOverride()ScaleBase.IsItemItsOwnContainerOverride(object)ScaleBase.CellSizeScaleBase.CustomItemsScaleBase.CustomItemTemplateScaleBase.CustomItemTemplateSelectorScaleBase.IndicatorsScaleBase.MaxScaleBase.MinScaleBase.MultiplierScaleBase.RangesScaleBase.RangeTemplateScaleBase.DefaultRangeGroup

Constructors

RadialScale()

Initializes a new instance of the RadialScale class.

Declaration

cs-api-definition
public RadialScale()

Fields

CenterProperty

Identifies the Center dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty CenterProperty

Field Value

DependencyProperty

LabelRotationModeProperty

Identifies the LabelRotationMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LabelRotationModeProperty

Field Value

DependencyProperty

RadiusProperty

Identifies the Radius dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RadiusProperty

Field Value

DependencyProperty

RotationModeProperty

Identifies the RotationMode dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RotationModeProperty

Field Value

DependencyProperty

StartAngleProperty

Identifies the StartAngle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StartAngleProperty

Field Value

DependencyProperty

SweepAngleProperty

Identifies the SweepAngle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SweepAngleProperty

Field Value

DependencyProperty

Properties

Center

Gets or sets the center of the radial scale.

Declaration

cs-api-definition
[SRCategory("Layout")]
public Point Center { get; set; }

Property Value

Point

LabelRotationMode

Gets or sets label rotation mode.

Declaration

cs-api-definition
[SRCategory("Layout")]
public RotationMode LabelRotationMode { get; set; }

Property Value

RotationMode

Radius

Gets or sets outer radius of the radial scale. Should be from 0 to 1.

Declaration

cs-api-definition
[SRCategory("Layout")]
public double Radius { get; set; }

Property Value

double

StartAngle

Gets or sets the start angle of the radial scale.

Declaration

cs-api-definition
[SRCategory("Layout")]
public double StartAngle { get; set; }

Property Value

double

SweepAngle

Gets or sets the sweep angle of the radial scale.

Declaration

cs-api-definition
[SRCategory("Layout")]
public double SweepAngle { get; set; }

Property Value

double

Methods

CalculateCellSize()

Calculate cell size of the scale.

Declaration

cs-api-definition
protected override Size CalculateCellSize()

Returns

Size

Overrides ScaleBase.CalculateCellSize()

GetObjectPosition(FrameworkElement, ScaleObjectLocation, GaugeMeasure, double)

Gets position of the object over the scale.

Declaration

cs-api-definition
protected override Point GetObjectPosition(FrameworkElement element, ScaleObjectLocation location, GaugeMeasure offset, double value)

Parameters

element

FrameworkElement

Element to get position for.

location

ScaleObjectLocation

Scale object location.

offset

GaugeMeasure

Offset from the location.

value

double

Value along the scale.

Returns

Point

Position of the object over the scale.

Overrides ScaleBase.GetObjectPosition(FrameworkElement, ScaleObjectLocation, GaugeMeasure, double)

GetRotationMode(DependencyObject)

Gets value of the attachable RotationMode property.

Declaration

cs-api-definition
public static RotationMode GetRotationMode(DependencyObject element)

Parameters

element

DependencyObject

Element to get value of the property from.

Returns

RotationMode

Value of the RotationMode property.

GetValueByPoint(Point)

Gets the value which corresponds to the point on scale.

Declaration

cs-api-definition
public override double GetValueByPoint(Point point)

Parameters

point

Point

Point on the scale to get value for.

Returns

double

Double value corresponds to the given point.

Overrides GraphicScale.GetValueByPoint(Point)

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.

SetRotationMode(DependencyObject, RotationMode)

Sets value of the attachable RotationMode property.

Declaration

cs-api-definition
public static void SetRotationMode(DependencyObject element, RotationMode value)

Parameters

element

DependencyObject

Element to set value of the property to.

value

RotationMode

RotationMode of the element.

UpdateScaleBar()

Update geometry of the scale bar.

Declaration

cs-api-definition
protected override void UpdateScaleBar()

Overrides GraphicScale.UpdateScaleBar()