Class
CartesianMarkedZoneAnnotation

Represents a marked zone annotation. The location of the rectangle that determine the marked zone is 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 CartesianMarkedZoneAnnotation : CartesianChartAnnotation, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartAnnotationCartesianChartAnnotationCartesianMarkedZoneAnnotation

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

CartesianMarkedZoneAnnotation()

Initializes a new instance of the CartesianMarkedZoneAnnotation class.

Declaration

cs-api-definition
public CartesianMarkedZoneAnnotation()

Fields

DashArrayProperty

Identifies the DashArray dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DashArrayProperty

Field Value

DependencyProperty

FillProperty

Identifies the Fill dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty FillProperty

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 the border of the marked zone.

Declaration

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

Property Value

DoubleCollection

The line dash array.

Fill

Gets or sets the fill of the marked zone.

Declaration

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

Property Value

Brush

The fill.

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 marked zone will be drawn from. If this value is null the marked zone will reach the plot area's end.

Declaration

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

Property Value

object

HorizontalTo

Gets or sets the horizontal value that the marked zone will be drawn to. If this value is null the marked zone will reach the plot area's end.

Declaration

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

Property Value

object

Stroke

Gets or sets the stroke of the marked zone.

Declaration

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

Property Value

Brush

The line stroke.

StrokeThickness

Gets or sets the stroke thickness of the marked zone.

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 marked zone will be drawn from. If this value is null the marked zone will reach the plot area's end.

Declaration

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

Property Value

object

VerticalTo

Gets or sets the vertical value that the marked zone will be drawn to. If this value is null the marked zone will reach the plot area's end.

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()