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:
public class ChartAnnotationsProvider : InheritanceContextPropagator
Inheritance: objectInheritanceContextPropagatorChartAnnotationsProvider
Inherited Members
Constructors
Initializes a new instance of the ChartAnnotationsProvider class.
public ChartAnnotationsProvider()
Fields
AnnotationDescriptorSelectorProperty
DependencyProperty
Identifies the AnnotationDescriptorSelector dependency property.
public static readonly DependencyProperty AnnotationDescriptorSelectorProperty
SourceProperty
DependencyProperty
Identifies the Source dependency property.
public static readonly DependencyProperty SourceProperty
Properties
Gets the collection of ChartAnnotationDescriptor objects that specify what chart annotations are to be created.
public ChartAnnotationDescriptorCollection AnnotationDescriptors { get; }
Gets or sets the ChartAnnotationDescriptorSelector instance that may be used for context-based descriptor selection.
public ChartAnnotationDescriptorSelector AnnotationDescriptorSelector { get; set; }
Gets or sets the collection of objects that contain the data for the dynamic annotations to be created.
public IEnumerable Source { get; set; }
Events
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.
public event EventHandler<ChartAnnotationCreatedEventArgs> AnnotationCreated