ClassChartSeriesProvider
Represents a logical object that may be used to feed a RadChartBase instance with data, leaving the series creation to the chart itself.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public class ChartSeriesProvider : InheritanceContextPropagator
Inheritance: objectInheritanceContextPropagatorChartSeriesProvider
Inherited Members
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
DependencyProperty
SeriesDescriptorSelectorProperty
Identifies the SeriesDescriptorSelector dependency property.
Declaration
public static readonly DependencyProperty SeriesDescriptorSelectorProperty
Field Value
DependencyProperty
SourceProperty
Identifies the Source dependency property.
Declaration
public static readonly DependencyProperty SourceProperty
Field Value
DependencyProperty
Properties
SeriesDescriptorSelector
Gets or sets the ChartSeriesDescriptorSelector instance that may be used for context-based descriptor selection.
Declaration
public ChartSeriesDescriptorSelector SeriesDescriptorSelector { get; set; }
Property Value
SeriesDescriptors
Gets the collection of ChartSeriesDescriptor objects that specify what chart series are to be created.
Declaration
public ChartSeriesDescriptorCollection SeriesDescriptors { get; }
Property Value
Methods
GetIsDynamicSeries(DependencyObject)
Determines whether the specified ChartSeries instance is dynamically created by a series provider.
Declaration
public static bool GetIsDynamicSeries(DependencyObject instance)
Parameters
instance
DependencyObject
Returns
RefreshAttachedCharts()
Forces all attached chart instances to re-evaluate all the series created from this provider.
Declaration
public void RefreshAttachedCharts()
SetIsDynamicSeries(DependencyObject, bool)
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
instance
DependencyObject
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 Value