PointTemplateSeries
Base class for all ChartSeries that may visualize their data points through Data templates.
Definition
Namespace:Telerik.Windows.Controls.ChartView
Assembly:Telerik.Windows.Controls.Chart.dll
Syntax:
public abstract class PointTemplateSeries : ChartSeries, IChartElementPresenter
Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartSeriesPointTemplateSeries...
Derived Classes:
Implements:
Inherited Members
Constructors
Initializes a new instance of the PointTemplateSeries class.
protected PointTemplateSeries()
Fields
DefaultVisualStyleProperty
DependencyProperty
Identifies the DefaultVisualStyle property.
public static readonly DependencyProperty DefaultVisualStyleProperty
DefaultVisualStyleSelectorProperty
DependencyProperty
Identifies the DefaultVisualStyleSelector property.
public static readonly DependencyProperty DefaultVisualStyleSelectorProperty
PointTemplateProperty
DependencyProperty
Identifies the PointTemplate property.
public static readonly DependencyProperty PointTemplateProperty
PointTemplateSelectorProperty
DependencyProperty
Identifies the PointTemplateSelector property.
public static readonly DependencyProperty PointTemplateSelectorProperty
RenderOptionsProperty
DependencyProperty
Identifies the RenderOptions dependency property.
public static readonly DependencyProperty RenderOptionsProperty
Properties
DefaultVisualStyle
Style
Gets or sets the Style instance that will define the appearance of series' default visuals (if any). For example a BarSeries will create Border instances as its default visuals. Point templates (if specified) however have higher precedence compared to the default visuals.
public Style DefaultVisualStyle { get; set; }
DefaultVisualStyleSelector
StyleSelector
Gets or sets the StyleSelector instance used to select the appropriate style that will define the appearance of series' default visuals (if any).
public StyleSelector DefaultVisualStyleSelector { get; set; }
PointTemplate
DataTemplate
Gets or sets the DataTemplate property used to visualize each PointTemplateSeries presented.
public DataTemplate PointTemplate { get; set; }
PointTemplates
ObservableCollection<DataTemplate>
Gets the collection that stores index-based templates for each data point.
public ObservableCollection<DataTemplate> PointTemplates { get; }
PointTemplateSelector
DataTemplateSelector
Gets or sets the DataTemplateSelector property used to provide conditional DataTemplate look-up when visualizing each data point presented.
public DataTemplateSelector PointTemplateSelector { get; set; }
Gets or sets the ChartRenderOptions for controlling the rendering behavior.
public ChartRenderOptions RenderOptions { get; set; }
Methods
GetDataPointVisual(DataPoint)
UIElement
Gets the UIElement instance used to visualize the corresponding data point.
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.
public override void OnApplyTemplate()
Overrides:
Occurs when the presenter has been successfully attached to its owning RadChartBase instance.
protected override void OnAttached()
Overrides:
Occurs when the presenter has been successfully detached from its owning RadChartBase instance.
protected override void OnDetached(RadChartBase oldChart)
Overrides:
Occurs when a System.Windows.FrameworkElement has been constructed and added to the object tree.
protected override void OnLoaded(object sender, RoutedEventArgs e)
Overrides:
Fired when Point animations are about to be played.
protected override void OnPlayPointAnimations(bool hidePointsOnLoad)
When true, the animated element is collapsed until the start of the animation.
Overrides:
Occurs when the RenderOptions have been changed.
protected void OnRenderOptionsChanged(ChartRenderOptions oldRenderOptions, ChartRenderOptions newRenderOptions)