Represents a line annotation. The locations of the two points that determine the line are calculated base on the HorizontalFrom, HorizontalTo, VerticalFrom and VerticalTo properties.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public class CartesianCustomLineAnnotation : CartesianChartAnnotation, IChartElementPresenter
Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartAnnotationCartesianChartAnnotationCartesianCustomLineAnnotation...
Implements:
Inherited Members
Constructors
Initializes a new instance of the CartesianCustomLineAnnotation class.
public CartesianCustomLineAnnotation()
Fields
DashArrayProperty
DependencyProperty
Identifies the DashArray dependency property.
public static readonly DependencyProperty DashArrayProperty
HorizontalAxisProperty
DependencyProperty
Identifies the HorizontalAxis dependency property.
public static readonly DependencyProperty HorizontalAxisProperty
HorizontalFromProperty
DependencyProperty
Identifies the HorizontalFrom dependency property.
public static readonly DependencyProperty HorizontalFromProperty
HorizontalToProperty
DependencyProperty
Identifies the HorizontalTo dependency property.
public static readonly DependencyProperty HorizontalToProperty
StrokeProperty
DependencyProperty
Identifies the Stroke dependency property.
public static readonly DependencyProperty StrokeProperty
StrokeThicknessProperty
DependencyProperty
Identifies the StrokeThickness dependency property.
public static readonly DependencyProperty StrokeThicknessProperty
VerticalAxisProperty
DependencyProperty
Identifies the VerticalAxis dependency property.
public static readonly DependencyProperty VerticalAxisProperty
VerticalFromProperty
DependencyProperty
Identifies the VerticalFrom dependency property.
public static readonly DependencyProperty VerticalFromProperty
VerticalToProperty
DependencyProperty
Identifies the VerticalTo dependency property.
public static readonly DependencyProperty VerticalToProperty
Properties
DashArray
DoubleCollection
Gets or sets a collection of double values that indicate the pattern of dashes and gaps that is used to outline shapes.
public DoubleCollection DashArray { get; set; }
The line dash array.
Gets or sets the horizontal axis.
public CartesianAxis HorizontalAxis { get; set; }
The horizontal axis.
Gets or sets the horizontal value that the line will be drawn from.
public object HorizontalFrom { get; set; }
Gets or sets the horizontal value that the line will be drawn to.
public object HorizontalTo { get; set; }
Stroke
Brush
Gets or sets the Brush that specifies how the shape outline is painted.
public Brush Stroke { get; set; }
The line stroke.
Gets or sets the width of the shape stroke outline.
public double StrokeThickness { get; set; }
The line stroke thickness.
Gets or sets the vertical axis.
public CartesianAxis VerticalAxis { get; set; }
The vertical axis.
Gets or sets the vertical value that the line will be drawn from.
public object VerticalFrom { get; set; }
Gets or sets the vertical value that the line will be drawn to.
public object VerticalTo { get; set; }
Methods
When overridden in a derived class, is invoked whenever application code or internal processes call .
public override void OnApplyTemplate()
Overrides:
Occurs when the presenter has been successfully attached to its owning RadChartBase instance.
protected override void OnAttached()
Overrides:
OnCreateAutomationPeer()
AutomationPeer
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
AutomationPeer
The type-specific AutomationPeer implementation.
Overrides: