Class
CartesianCustomLineAnnotation

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:

cs-api-definition
public class CartesianCustomLineAnnotation : CartesianChartAnnotation, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartAnnotationCartesianChartAnnotationCartesianCustomLineAnnotation

Implements: IChartElementPresenter

Inherited Members ChartAnnotation.ClipToPlotAreaPropertyChartAnnotation.OnDetached(RadChartBase)ChartAnnotation.ClipToPlotAreaChartElementPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs)ChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(ChartNode)PresenterBase.InvalidatePalette()PresenterBase.MeasureNodeOverride(ChartNode, object)PresenterBase.RefreshNodeCore(ChartNode)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.OnInitialized(EventArgs)PresenterBase.RenderSurfaceRadControlBase.OnUnloaded(object, RoutedEventArgs)RadControlBase.OnLoaded(object, RoutedEventArgs)RadControlBase.IsLoadedRadControlBase.IsTemplateApplied

Constructors

CartesianCustomLineAnnotation()

Initializes a new instance of the CartesianCustomLineAnnotation class.

Declaration

cs-api-definition
public CartesianCustomLineAnnotation()

Fields

DashArrayProperty

Identifies the DashArray dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DashArrayProperty

Field Value

DependencyProperty

HorizontalAxisProperty

Identifies the HorizontalAxis dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalAxisProperty

Field Value

DependencyProperty

HorizontalFromProperty

Identifies the HorizontalFrom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalFromProperty

Field Value

DependencyProperty

HorizontalToProperty

Identifies the HorizontalTo dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty HorizontalToProperty

Field Value

DependencyProperty

StrokeProperty

Identifies the Stroke dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StrokeProperty

Field Value

DependencyProperty

StrokeThicknessProperty

Identifies the StrokeThickness dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty StrokeThicknessProperty

Field Value

DependencyProperty

VerticalAxisProperty

Identifies the VerticalAxis dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalAxisProperty

Field Value

DependencyProperty

VerticalFromProperty

Identifies the VerticalFrom dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalFromProperty

Field Value

DependencyProperty

VerticalToProperty

Identifies the VerticalTo dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty VerticalToProperty

Field Value

DependencyProperty

Properties

DashArray

Gets or sets a collection of double values that indicate the pattern of dashes and gaps that is used to outline shapes.

Declaration

cs-api-definition
public DoubleCollection DashArray { get; set; }

Property Value

DoubleCollection

The line dash array.

HorizontalAxis

Gets or sets the horizontal axis.

Declaration

cs-api-definition
public CartesianAxis HorizontalAxis { get; set; }

Property Value

CartesianAxis

The horizontal axis.

HorizontalFrom

Gets or sets the horizontal value that the line will be drawn from.

Declaration

cs-api-definition
public object HorizontalFrom { get; set; }

Property Value

object

HorizontalTo

Gets or sets the horizontal value that the line will be drawn to.

Declaration

cs-api-definition
public object HorizontalTo { get; set; }

Property Value

object

Stroke

Gets or sets the Brush that specifies how the shape outline is painted.

Declaration

cs-api-definition
public Brush Stroke { get; set; }

Property Value

Brush

The line stroke.

StrokeThickness

Gets or sets the width of the shape stroke outline.

Declaration

cs-api-definition
public double StrokeThickness { get; set; }

Property Value

double

The line stroke thickness.

VerticalAxis

Gets or sets the vertical axis.

Declaration

cs-api-definition
public CartesianAxis VerticalAxis { get; set; }

Property Value

CartesianAxis

The vertical axis.

VerticalFrom

Gets or sets the vertical value that the line will be drawn from.

Declaration

cs-api-definition
public object VerticalFrom { get; set; }

Property Value

object

VerticalTo

Gets or sets the vertical value that the line will be drawn to.

Declaration

cs-api-definition
public object VerticalTo { get; set; }

Property Value

object

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes call .

Declaration

cs-api-definition
public override void OnApplyTemplate()

Overrides ChartAnnotation.OnApplyTemplate()

OnAttached()

Occurs when the presenter has been successfully attached to its owning RadChartBase instance.

Declaration

cs-api-definition
protected override void OnAttached()

Overrides ChartAnnotation.OnAttached()

OnCreateAutomationPeer()

Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.

Declaration

cs-api-definition
protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The type-specific AutomationPeer implementation.

Overrides ChartAnnotation.OnCreateAutomationPeer()