Class RadDataBarBase
The base class for RadDataBars implementing common properties and logic.
Inheritance
Namespace: Telerik.Windows.Controls
Assembly: Telerik.Windows.Controls.DataVisualization.dll
Syntax
public abstract class RadDataBarBase : Control
Constructors
RadDataBarBase()
Fields
AppliedAxisMarginProperty
Identifies the Applied
Declaration
public static readonly DependencyProperty AppliedAxisMarginProperty
Field Value
System.
|
AppliedAxisVisibilityProperty
Identifies the Applied
Declaration
public static readonly DependencyProperty AppliedAxisVisibilityProperty
Field Value
System.
|
AxisStrokeProperty
Identifies the Axis
Declaration
public static readonly DependencyProperty AxisStrokeProperty
Field Value
System.
|
AxisStyleProperty
Identifies the Axis
Declaration
public static readonly DependencyProperty AxisStyleProperty
Field Value
System.
|
AxisVisibilityProperty
Identifies the Axis
Declaration
public static readonly DependencyProperty AxisVisibilityProperty
Field Value
System.
|
BarBorderThicknessProperty
Identifies the Bar
Declaration
public static readonly DependencyProperty BarBorderThicknessProperty
Field Value
System.
|
BarHeightPercentProperty
Identifies the Bar
Declaration
public static readonly DependencyProperty BarHeightPercentProperty
Field Value
System.
|
BarStyleProperty
Identifies the Bar
Declaration
public static readonly DependencyProperty BarStyleProperty
Field Value
System.
|
MaximumProperty
Identifies the Maximum dependency property.
Declaration
public static readonly DependencyProperty MaximumProperty
Field Value
System.
|
MinimumProperty
Identifies the Minimum dependency property.
Declaration
public static readonly DependencyProperty MinimumProperty
Field Value
System.
|
OriginValueProperty
Identifies the Origin
Declaration
public static readonly DependencyProperty OriginValueProperty
Field Value
System.
|
OverflowTemplateProperty
Identifies the Overflow
Declaration
public static readonly DependencyProperty OverflowTemplateProperty
Field Value
System.
|
UnderflowTemplateProperty
Identifies the Underflow
Declaration
public static readonly DependencyProperty UnderflowTemplateProperty
Field Value
System.
|
Properties
AppliedAxisMargin
Gets the Margin that is actually applied to the axis.
Declaration
public Thickness AppliedAxisMargin { get; }
Property Value
System.
|
Remarks
This property is set internally depending on the Minimum, Maximum, Origin
AppliedAxisVisibility
Gets the visibility that is actually applied to the axis.
Declaration
public Visibility AppliedAxisVisibility { get; }
Property Value
System.
|
Remarks
This property is set internally depending on the Axis
AxisStroke
Gets or sets the stroke of the axis, which is positioned vertically at the origin value.
Declaration
public Brush AxisStroke { get; set; }
Property Value
System.
|
AxisStyle
Gets or sets the style that is applied to the axis.
Declaration
public Style AxisStyle { get; set; }
Property Value
System.
|
Remarks
The axis is the vertical line positioned at the origin value.
AxisVisibility
Gets or sets the visibility of the axis, which is positioned vertically at the origin value.
Declaration
public Visibility AxisVisibility { get; set; }
Property Value
System.
|
BarBorderThickness
Gets or sets the Stroke of the Data
Declaration
public double BarBorderThickness { get; set; }
Property Value
System.
|
BarHeightPercent
Gets or sets the height percent (from 0 to 1) of the bar shape.
Declaration
public double BarHeightPercent { get; set; }
Property Value
System.
|
BarStyle
Gets or sets the style that is applied to the Data
Declaration
public Style BarStyle { get; set; }
Property Value
System.
|
Maximum
Gets or sets the Maximum.
Declaration
public double Maximum { get; set; }
Property Value
System.
|
Minimum
Gets or sets the Minimum.
Declaration
public double Minimum { get; set; }
Property Value
System.
|
OriginValue
Gets or sets the origin value.
Declaration
public double OriginValue { get; set; }
Property Value
System.
|
OverflowTemplate
Gets or sets the OverflowTemplate. This is used to denote that (and is shown only if) the value (in DataBar) or the positive sum (in StackedDataBar) is greater than the specified Maximum.
Declaration
public DataTemplate OverflowTemplate { get; set; }
Property Value
System.
|
UnderflowTemplate
Gets or sets the UnderflowTemplate. This is used to denote that (and is shown only if) the value (in DataBar) or the negative sum (in StackedDataBar) is less than the specified Minimum.
Declaration
public DataTemplate UnderflowTemplate { get; set; }
Property Value
System.
|
Methods
MeasureOverride(Size)
Overrides the Measure pass to define a specific behavior for measuring.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.
|
Returns
System.
|
NormalizeAndCoerceValue(Double)
Normalizes the value in correspondence to the minimum and maximum and coerces it to be a number between 0 and 1.
Declaration
protected double NormalizeAndCoerceValue(double value)
Parameters
System. The value that is to be normalized and coerced. |
Returns
System. The coerced normalized value. |
Remarks
For instance the normalized value of 1120 is 1.0 if the minimum is 1000 and maximum is 1100. The normalized value of 1000 is 0.0 if the minimum is 2000 and maximum is 3000.
NormalizeValue(Double)
Declaration
protected double NormalizeValue(double value)
Parameters
System. The value that is to be normalized. |
Returns
System. The normalized value. |
Remarks
For example, the normalized value of 140 is 0.4 if the minimum is 100 and maximum is 200. The normalized value of 1120 is 1.2 if the minimum is 1000 and maximum is 1100.
OnMaximumPropertyChanged(DependencyPropertyChangedEventArgs)
Called when the Maximum has changed.
Declaration
protected virtual void OnMaximumPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
System. The System. |
OnMinimumPropertyChanged(DependencyPropertyChangedEventArgs)
Called when the Minimum has changed.
Declaration
protected virtual void OnMinimumPropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
System. The System. |
OnOriginValuePropertyChanged(DependencyPropertyChangedEventArgs)
Called when the Origin
Declaration
protected virtual void OnOriginValuePropertyChanged(DependencyPropertyChangedEventArgs e)
Parameters
System. The System. |
UpdateOutOfRangeTemplates()
Called when the visibility of the out-of-range templates should be updated.
Declaration
protected virtual void UpdateOutOfRangeTemplates()