Class
ChartAnnotationsProvider

Represents a logical object that may be used to create chart annotations automatically.

Definition

Namespace:Telerik.Windows.Controls.ChartView

Assembly:Telerik.Windows.Controls.Chart.dll

Syntax:

cs-api-definition
public class ChartAnnotationsProvider : InheritanceContextPropagator

Inheritance: objectInheritanceContextPropagatorChartAnnotationsProvider

Inherited Members InheritanceContextPropagator.CreateInstanceCore()InheritanceContextPropagator.FreezeCore(bool)

Constructors

ChartAnnotationsProvider()

Initializes a new instance of the ChartAnnotationsProvider class.

Declaration

cs-api-definition
public ChartAnnotationsProvider()

Fields

AnnotationDescriptorSelectorProperty

Identifies the AnnotationDescriptorSelector dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty AnnotationDescriptorSelectorProperty

Field Value

DependencyProperty

SourceProperty

Identifies the Source dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty SourceProperty

Field Value

DependencyProperty

Properties

AnnotationDescriptorSelector

Gets or sets the ChartAnnotationDescriptorSelector instance that may be used for context-based descriptor selection.

Declaration

cs-api-definition
public ChartAnnotationDescriptorSelector AnnotationDescriptorSelector { get; set; }

Property Value

ChartAnnotationDescriptorSelector

AnnotationDescriptors

Gets the collection of ChartAnnotationDescriptor objects that specify what chart annotations are to be created.

Declaration

cs-api-definition
public ChartAnnotationDescriptorCollection AnnotationDescriptors { get; }

Property Value

ChartAnnotationDescriptorCollection

Source

Gets or sets the collection of objects that contain the data for the dynamic annotations to be created.

Declaration

cs-api-definition
public IEnumerable Source { get; set; }

Property Value

IEnumerable

Events

AnnotationCreated

Occurs when an annotation is created. Allows for the annotation to be additionally set up or completely replaced. This event may be raised with the annotation being null (for example in cases when a suitable descriptor was not found). In such a case, this event can still be used to create and set up a new annotation.

Declaration

cs-api-definition
public event EventHandler<ChartAnnotationCreatedEventArgs> AnnotationCreated

Event Value

EventHandler<ChartAnnotationCreatedEventArgs>