ClassPointTemplateSeries
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
PointTemplateSeries()
Initializes a new instance of the PointTemplateSeries class.
Declaration
protected PointTemplateSeries()
Fields
DefaultVisualStyleProperty
Identifies the DefaultVisualStyle property.
Declaration
public static readonly DependencyProperty DefaultVisualStyleProperty
Field Value
DependencyProperty
DefaultVisualStyleSelectorProperty
Identifies the DefaultVisualStyleSelector property.
Declaration
public static readonly DependencyProperty DefaultVisualStyleSelectorProperty
Field Value
DependencyProperty
PointTemplateProperty
Identifies the PointTemplate property.
Declaration
public static readonly DependencyProperty PointTemplateProperty
Field Value
DependencyProperty
PointTemplateSelectorProperty
Identifies the PointTemplateSelector property.
Declaration
public static readonly DependencyProperty PointTemplateSelectorProperty
Field Value
DependencyProperty
RenderOptionsProperty
Identifies the RenderOptions dependency property.
Declaration
public static readonly DependencyProperty RenderOptionsProperty
Field Value
DependencyProperty
Properties
DefaultVisualStyle
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.
Declaration
public Style DefaultVisualStyle { get; set; }
Property Value
Style
DefaultVisualStyleSelector
Gets or sets the StyleSelector instance used to select the appropriate style that will define the appearance of series' default visuals (if any).
Declaration
public StyleSelector DefaultVisualStyleSelector { get; set; }
Property Value
StyleSelector
PointTemplate
Gets or sets the DataTemplate property used to visualize each PointTemplateSeries presented.
Declaration
public DataTemplate PointTemplate { get; set; }
Property Value
DataTemplate
PointTemplateSelector
Gets or sets the DataTemplateSelector property used to provide conditional DataTemplate look-up when visualizing each data point presented.
Declaration
public DataTemplateSelector PointTemplateSelector { get; set; }
Property Value
DataTemplateSelector
PointTemplates
Gets the collection that stores index-based templates for each data point.
Declaration
public ObservableCollection<DataTemplate> PointTemplates { get; }
Property Value
ObservableCollection<DataTemplate>
RenderOptions
Gets or sets the ChartRenderOptions for controlling the rendering behavior.
Declaration
public ChartRenderOptions RenderOptions { get; set; }
Property Value
Methods
GetDataPointVisual(DataPoint)
Gets the UIElement instance used to visualize the corresponding data point.
Declaration
public UIElement GetDataPointVisual(DataPoint point)
Parameters
point
Returns
UIElement
MeasureNodeOverride(ChartNode, object)
Core entry point for calculating the size of a node's content.
OnApplyTemplate()
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.
Declaration
public override void OnApplyTemplate()
Overrides
OnAttached()
Occurs when the presenter has been successfully attached to its owning RadChartBase instance.
Declaration
protected override void OnAttached()
Overrides
OnDetached(RadChartBase)
Occurs when the presenter has been successfully detached from its owning RadChartBase instance.
Declaration
protected override void OnDetached(RadChartBase oldChart)
Parameters
oldChart
Overrides
OnLoaded(object, RoutedEventArgs)
Occurs when a System.Windows.FrameworkElement has been constructed and added to the object tree.
Declaration
protected override void OnLoaded(object sender, RoutedEventArgs e)
Parameters
sender
e
RoutedEventArgs
Overrides
OnPlayPointAnimations(bool)
Fired when Point animations are about to be played.
Declaration
protected override void OnPlayPointAnimations(bool hidePointsOnLoad)
Parameters
hidePointsOnLoad
When true, the animated element is collapsed until the start of the animation.
Overrides
OnRenderOptionsChanged(ChartRenderOptions, ChartRenderOptions)
Occurs when the RenderOptions have been changed.
Declaration
protected void OnRenderOptionsChanged(ChartRenderOptions oldRenderOptions, ChartRenderOptions newRenderOptions)
Parameters
oldRenderOptions
newRenderOptions