Class ChartSeriesProvider
Represents a logical object that may be used to feed a RadChartBase instance with data, leaving the series creation to the chart itself.
Inheritance
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public class ChartSeriesProvider : DependencyObject
Constructors
ChartSeriesProvider()
Initializes a new instance of the ChartSeriesProvider class.
Declaration
public ChartSeriesProvider()
Fields
IsDynamicSeriesProperty
Identifies the IsDynamicSeries attached dependency property.
Declaration
public static readonly DependencyProperty IsDynamicSeriesProperty
Field Value
System.Windows.DependencyProperty
|
SeriesDescriptorSelectorProperty
Identifies the SeriesDescriptorSelector dependency property.
Declaration
public static readonly DependencyProperty SeriesDescriptorSelectorProperty
Field Value
System.Windows.DependencyProperty
|
SourceProperty
Identifies the Source dependency property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
System.Windows.DependencyProperty
|
Properties
SeriesDescriptors
Gets the collection of ChartSeriesDescriptor objects that specify what chart series are to be created.
Declaration
public ChartSeriesDescriptorCollection SeriesDescriptors { get; }
Property Value
ChartSeriesDescriptorCollection
|
SeriesDescriptorSelector
Gets or sets the ChartSeriesDescriptorSelector instance that may be used for context-based descriptor selection.
Declaration
public ChartSeriesDescriptorSelector SeriesDescriptorSelector { get; set; }
Property Value
ChartSeriesDescriptorSelector
|
Source
Gets or sets the collection of objects that contain the data for the dynamic series to be created.
Declaration
public object Source { get; set; }
Property Value
System.Object
|
Methods
GetIsDynamicSeries(DependencyObject)
Determines whether the specified ChartSeries instance is dynamically created by a series provider.
Declaration
public static bool GetIsDynamicSeries(DependencyObject instance)
Parameters
System.Windows.DependencyObject
instance
|
Returns
System.Boolean
|
RefreshAttachedCharts()
Forces all attached chart instances to re-evaluate all the series created from this provider.
Declaration
public void RefreshAttachedCharts()
SetIsDynamicSeries(DependencyObject, Boolean)
Sets a value indicating that the specified ChartSeries instance is dynamically created by a series provider instance.
Declaration
public static void SetIsDynamicSeries(DependencyObject instance, bool value)
Parameters
System.Windows.DependencyObject
instance
|
System.Boolean
value
|
Events
SeriesCreated
Occurs when a series is created. Allows for the series to be additionally set up or completely replaced. This event may be raised with the series 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 series.
Declaration
public event EventHandler<ChartSeriesCreatedEventArgs> SeriesCreated
Event Type
System.EventHandler<ChartSeriesCreatedEventArgs>
|