Class Stick
Represents the Stick financial series in 2D.
Inherited Members
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public class Stick : BaseChartItem2D, IChartItem, ILogicalItem, IAnimatable, IInteractiveElement
Constructors
Stick()
Declaration
public Stick()
Fields
CenterProperty
Identifies the Center dependency property.
Declaration
public static readonly DependencyProperty CenterProperty
Field Value
System.Windows.DependencyProperty
|
ClosePointProperty
Identifies the ClosePoint dependency property.
Declaration
public static readonly DependencyProperty ClosePointProperty
Field Value
System.Windows.DependencyProperty
|
HighPointProperty
Identifies the HighPoint dependency property.
Declaration
public static readonly DependencyProperty HighPointProperty
Field Value
System.Windows.DependencyProperty
|
LowPointProperty
Identifies the LowPoint dependency property.
Declaration
public static readonly DependencyProperty LowPointProperty
Field Value
System.Windows.DependencyProperty
|
OpenPointProperty
Identifies the OpenPoint dependency property.
Declaration
public static readonly DependencyProperty OpenPointProperty
Field Value
System.Windows.DependencyProperty
|
Properties
Center
Gets or sets the center.
Declaration
public double Center { get; set; }
Property Value
System.Double
The center. |
ClosePoint
Gets or sets the bottom wick top point.
Declaration
public Point ClosePoint { get; set; }
Property Value
System.Windows.Point
The bottom wick top. |
HighPoint
Gets or sets the upper wick top point.
Declaration
public Point HighPoint { get; set; }
Property Value
System.Windows.Point
The upper wick top. |
LowPoint
Gets or sets the bottom wick bottom point.
Declaration
public Point LowPoint { get; set; }
Property Value
System.Windows.Point
The bottom wick bottom. |
OpenPoint
Gets or sets the upper wick bottom point.
Declaration
public Point OpenPoint { get; set; }
Property Value
System.Windows.Point
The upper wick bottom. |
Methods
ApplyCustomAppearanceSettings()
Applies the custom appearance settings.
Declaration
protected override void ApplyCustomAppearanceSettings()
Overrides
CalculateParametricLinesCoordinates(Size)
Calculates the position of the helper layout points needed for the rendering of the financial series.
Declaration
protected virtual void CalculateParametricLinesCoordinates(Size constraint)
Parameters
System.Windows.Size
constraint
The constraint in which the chart item should be rendered. |
DataPointPropertyChanged(Object, PropertyChangedEventArgs)
This method is called whenever the PropertyChanged event of the DataPoint occurs.
Declaration
protected override void DataPointPropertyChanged(object sender, PropertyChangedEventArgs e)
Parameters
System.Object
sender
The sender. |
System.ComponentModel.PropertyChangedEventArgs
e
The System.ComponentModel.PropertyChangedEventArgs instance containing the event data. |
Overrides
MeasureOverride(Size)
Called to measure a control.
Declaration
protected override Size MeasureOverride(Size availableSize)
Parameters
System.Windows.Size
availableSize
The maximum size that the method can return. |
Returns
System.Windows.Size
The size of the control, up to the maximum specified by |
OnAnimationSettingsChanged()
Called when the animation settings associated with the respective series item change.
Declaration
protected override void OnAnimationSettingsChanged()
Overrides
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes call System.Windows.FrameworkElement.ApplyTemplate.
Declaration
public override void OnApplyTemplate()
Overrides
OnDataPointChanged(Object, DependencyPropertyChangedEventArgs)
Occurs when the DataPoint is changed.
Declaration
protected override void OnDataPointChanged(object sender, DependencyPropertyChangedEventArgs args)
Parameters
System.Object
sender
The target. |
System.Windows.DependencyPropertyChangedEventArgs
args
The event arguments. |
Overrides
UpdateParametricLineCoordinates(ParametricLine, Double, Double, Double, Double)
This method supports the RadChart infrastructure and is not intended to be used directly from your code.
Declaration
protected static void UpdateParametricLineCoordinates(ParametricLine line, double x1, double y1, double x2, double y2)
Parameters
ParametricLine
line
|
System.Double
x1
|
System.Double
y1
|
System.Double
x2
|
System.Double
y2
|
UpdateParametricLineParameter(ParametricLine, Boolean)
This method supports the RadChart infrastructure and is not intended to be used directly from your code.
Declaration
protected static void UpdateParametricLineParameter(ParametricLine line, bool enableAnimations)
Parameters
ParametricLine
line
|
System.Boolean
enableAnimations
|
UpdateParametricLinesCoordinates(Size)
This method supports the RadChart infrastructure and is not intended to be used directly from your code.
Declaration
protected virtual void UpdateParametricLinesCoordinates(Size constraint)
Parameters
System.Windows.Size
constraint
|
UpdateParametricLinesParameters()
This method supports the RadChart infrastructure and is not intended to be used directly from your code.
Declaration
protected virtual void UpdateParametricLinesParameters()