Class PointTemplateSeries
Base class for all ChartSeries that may visualize their data points through Data templates.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll
Syntax
public abstract class PointTemplateSeries : ChartSeries, IChartElementPresenterWithMargin, IChartSeries, IChartElementPresenter, ISeries
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
System.Windows.DependencyProperty
|
DefaultVisualStyleSelectorProperty
Identifies the DefaultVisualStyleSelector property.
Declaration
public static readonly DependencyProperty DefaultVisualStyleSelectorProperty
Field Value
System.Windows.DependencyProperty
|
PointTemplateProperty
Identifies the PointTemplate property.
Declaration
public static readonly DependencyProperty PointTemplateProperty
Field Value
System.Windows.DependencyProperty
|
PointTemplateSelectorProperty
Identifies the PointTemplateSelector property.
Declaration
public static readonly DependencyProperty PointTemplateSelectorProperty
Field Value
System.Windows.DependencyProperty
|
RenderOptionsProperty
Identifies the RenderOptions dependency property.
Declaration
public static readonly DependencyProperty RenderOptionsProperty
Field Value
System.Windows.DependencyProperty
|
Properties
DefaultVisualStyle
Gets or sets the System.Windows.Style instance that will define the appearance of series' default visuals (if any). For example a BarSeries will create System.Windows.Controls.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
System.Windows.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 System.Windows.DataTemplate property used to visualize each PointTemplateSeries presented.
Declaration
public DataTemplate PointTemplate { get; set; }
Property Value
System.Windows.DataTemplate
|
PointTemplates
Gets the collection that stores index-based templates for each data point.
Declaration
public ObservableCollection<DataTemplate> PointTemplates { get; }
Property Value
System.Collections.ObjectModel.ObservableCollection<System.Windows.DataTemplate>
|
PointTemplateSelector
Gets or sets the DataTemplateSelector property used to provide conditional System.Windows.DataTemplate look-up when visualizing each data point presented.
Declaration
public DataTemplateSelector PointTemplateSelector { get; set; }
Property Value
DataTemplateSelector
|
RenderOptions
Gets or sets the ChartRenderOptions for controlling the rendering behavior.
Declaration
public ChartRenderOptions RenderOptions { get; set; }
Property Value
ChartRenderOptions
|
Methods
GetDataPointVisual(DataPoint)
Gets the System.Windows.UIElement instance used to visualize the corresponding data point.
Declaration
public UIElement GetDataPointVisual(DataPoint point)
Parameters
DataPoint
point
|
Returns
System.Windows.UIElement
|
MeasureNodeOverride(ChartNode, Object)
Core entry point for calculating the size of a node's content.
Declaration
protected override RadSize MeasureNodeOverride(ChartNode node, object content)
Parameters
ChartNode
node
|
System.Object
content
|
Returns
RadSize
|
Overrides
OnApplyTemplate()
When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call System.Windows.Controls.Control.ApplyTemplate. 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
RadChartBase
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
System.Object
sender
|
System.Windows.RoutedEventArgs
e
|
Overrides
OnPlayPointAnimations(Boolean)
Fired when Point animations are about to be played.
Declaration
protected override void OnPlayPointAnimations(bool hidePointsOnLoad)
Parameters
System.Boolean
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
ChartRenderOptions
oldRenderOptions
|
ChartRenderOptions
newRenderOptions
|