Class ChartAnnotationsProvider
Represents a logical object that may be used to create chart annotations automatically.
Inheritance
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class ChartAnnotationsProvider : DependencyObject
Constructors
ChartAnnotationsProvider()
Initializes a new instance of the ChartAnnotationsProvider class.
Declaration
public ChartAnnotationsProvider()
Fields
AnnotationDescriptorSelectorProperty
Identifies the AnnotationDescriptorSelector dependency property.
Declaration
public static readonly DependencyProperty AnnotationDescriptorSelectorProperty
Field Value
System.Windows.DependencyProperty
|
SourceProperty
Identifies the Source dependency property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
System.Windows.DependencyProperty
|
Properties
AnnotationDescriptors
Gets the collection of ChartAnnotationDescriptor objects that specify what chart annotations are to be created.
Declaration
public ChartAnnotationDescriptorCollection AnnotationDescriptors { get; }
Property Value
ChartAnnotationDescriptorCollection
|
AnnotationDescriptorSelector
Gets or sets the ChartAnnotationDescriptorSelector instance that may be used for context-based descriptor selection.
Declaration
public ChartAnnotationDescriptorSelector AnnotationDescriptorSelector { get; set; }
Property Value
ChartAnnotationDescriptorSelector
|
Source
Gets or sets the collection of objects that contain the data for the dynamic annotations to be created.
Declaration
public IEnumerable Source { get; set; }
Property Value
System.Collections.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
public event EventHandler<ChartAnnotationCreatedEventArgs> AnnotationCreated
Event Type
System.EventHandler<ChartAnnotationCreatedEventArgs>
|