New to Telerik UI for WPFStart a free 30-day trial

Represents radial scale.

Definition

Namespace:Telerik.Windows.Controls.Gauge

Assembly:Telerik.Windows.Controls.DataVisualization.dll

Syntax:

C#
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

Initializes a new instance of the RadialScale class.

C#
public RadialScale()

Fields

CenterProperty

DependencyProperty

Identifies the Center dependency property.

C#
public static readonly DependencyProperty CenterProperty

LabelRotationModeProperty

DependencyProperty

Identifies the LabelRotationMode dependency property.

C#
public static readonly DependencyProperty LabelRotationModeProperty

RadiusProperty

DependencyProperty

Identifies the Radius dependency property.

C#
public static readonly DependencyProperty RadiusProperty

RotationModeProperty

DependencyProperty

Identifies the RotationMode dependency property.

C#
public static readonly DependencyProperty RotationModeProperty

StartAngleProperty

DependencyProperty

Identifies the StartAngle dependency property.

C#
public static readonly DependencyProperty StartAngleProperty

SweepAngleProperty

DependencyProperty

Identifies the SweepAngle dependency property.

C#
public static readonly DependencyProperty SweepAngleProperty

Properties

Center

Point

Gets or sets the center of the radial scale.

C#
[SRCategory("Layout")]
public Point Center { get; set; }

Gets or sets label rotation mode.

C#
[SRCategory("Layout")]
public RotationMode LabelRotationMode { get; set; }

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

C#
[SRCategory("Layout")]
public double Radius { get; set; }

Gets or sets the start angle of the radial scale.

C#
[SRCategory("Layout")]
public double StartAngle { get; set; }

Gets or sets the sweep angle of the radial scale.

C#
[SRCategory("Layout")]
public double SweepAngle { get; set; }

Methods

Calculate cell size of the scale.

C#
protected override Size CalculateCellSize()
Returns:

Size

Overrides: ScaleBase.CalculateCellSize()

Gets position of the object over the scale.

C#
protected override Point GetObjectPosition(FrameworkElement element, ScaleObjectLocation location, GaugeMeasure offset, double value)
Parameters:elementFrameworkElement

Element to get position for.

locationScaleObjectLocation

Scale object location.

offsetGaugeMeasure

Offset from the location.

valuedouble

Value along the scale.

Returns:

Point

Position of the object over the scale.

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

Gets value of the attachable RotationMode property.

C#
public static RotationMode GetRotationMode(DependencyObject element)
Parameters:elementDependencyObject

Element to get value of the property from.

Returns:

RotationMode

Value of the RotationMode property.

Gets the value which corresponds to the point on scale.

C#
public override double GetValueByPoint(Point point)
Parameters:pointPoint

Point on the scale to get value for.

Returns:

double

Double value corresponds to the given point.

Overrides: GraphicScale.GetValueByPoint(Point)

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.

Sets value of the attachable RotationMode property.

C#
public static void SetRotationMode(DependencyObject element, RotationMode value)
Parameters:elementDependencyObject

Element to set value of the property to.

valueRotationMode

RotationMode of the element.

Update geometry of the scale bar.

C#
protected override void UpdateScaleBar()

Overrides: GraphicScale.UpdateScaleBar()