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

Allows you to place a straight line at a specific place in your RadCartesianChart.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

C#
public class CartesianGridLineAnnotation : CartesianStrokedAnnotation, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartAnnotationCartesianChartAnnotationCartesianStrokedAnnotationCartesianGridLineAnnotation...

Implements: IChartElementPresenter

Inherited Members CartesianStrokedAnnotation.StrokePropertyCartesianStrokedAnnotation.StrokeThicknessPropertyCartesianStrokedAnnotation.DashArrayPropertyCartesianStrokedAnnotation.LabelPropertyCartesianStrokedAnnotation.LabelDefinitionPropertyCartesianStrokedAnnotation.StrokeCartesianStrokedAnnotation.StrokeThicknessCartesianStrokedAnnotation.DashArrayCartesianStrokedAnnotation.LabelCartesianStrokedAnnotation.LabelDefinitionCartesianStrokedAnnotation.IsStrokeInsetChartAnnotation.ClipToPlotAreaPropertyChartAnnotation.OnAttached()ChartAnnotation.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

Initializes a new instance of the CartesianGridLineAnnotation class.

C#
public CartesianGridLineAnnotation()

Fields

AxisProperty

DependencyProperty

Identifies the Axis dependency property.

C#
public static readonly DependencyProperty AxisProperty

ValueProperty

DependencyProperty

Identifies the Value dependency property.

C#
public static readonly DependencyProperty ValueProperty

Properties

Gets or sets the axis.

C#
public CartesianAxis Axis { get; set; }
Property Value:

The axis.

Gets the presenter.

C#
protected override Shape Presenter { get; }
Property Value:

The presenter.

Overrides: CartesianStrokedAnnotation.Presenter

Gets or sets the value.

C#
public object Value { get; set; }
Property Value:

The value.

Methods

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

C#
public override void OnApplyTemplate()

Overrides: ChartAnnotation.OnApplyTemplate()

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

C#
protected override AutomationPeer OnCreateAutomationPeer()
Returns:

AutomationPeer

The type-specific AutomationPeer implementation.

Overrides: ChartAnnotation.OnCreateAutomationPeer()