New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public abstract class PointTemplateSeries : ChartSeries, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartSeriesPointTemplateSeries...

Derived Classes: CartesianSeriesPolarSeries

Implements: IChartElementPresenter

Inherited Members ChartSeries.SeriesAnimationPropertyChartSeries.PointAnimationPropertyChartSeries.IsSelectedPropertyChartSeries.AllowSelectPropertyChartSeries.TrackBallTemplatePropertyChartSeries.TrackBallInfoTemplatePropertyChartSeries.ItemsSourcePropertyChartSeries.ClipToPlotAreaPropertyChartSeries.DisplayNamePropertyChartSeries.TooltipTemplatePropertyChartSeries.LabelConnectorsSettingsPropertyChartSeries.ShowLabelsPropertyChartSeries.PlaySeriesAnimation()ChartSeries.PlayPointAnimations()ChartSeries.OnPlaySeriesAnimation(bool)ChartSeries.HitTest(Rect)ChartSeries.HitTestDataPoints(Rect)ChartSeries.HitTestElements(Rect)ChartSeries.HitTestElementsCore(Rect)ChartSeries.HitTestDataPointsCore(Rect)ChartSeries.OnVisibilityChanged()ChartSeries.GetLabelConnector(ChartSeriesLabelPositionInfo)ChartSeries.GetDataPointLabels(DataPoint)ChartSeries.SeriesAnimationChartSeries.PointAnimationChartSeries.IsSelectedChartSeries.AllowSelectChartSeries.TrackBallTemplateChartSeries.TrackBallInfoTemplateChartSeries.DisplayNameChartSeries.TooltipTemplateChartSeries.ClipToPlotAreaChartSeries.ItemsSourceChartSeries.LabelConnectorsSettingsChartSeries.LabelDefinitionsChartSeries.ShowLabelsChartSeries.SeriesAnimationCompletedChartSeries.PointAnimationsCompletedChartSeries.DataBindingCompleteChartElementPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs)ChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(ChartNode)PresenterBase.InvalidatePalette()PresenterBase.RefreshNodeCore(ChartNode)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.OnInitialized(EventArgs)PresenterBase.RenderSurfaceRadControlBase.OnUnloaded(object, RoutedEventArgs)RadControlBase.IsLoadedRadControlBase.IsTemplateApplied...

Constructors

Initializes a new instance of the PointTemplateSeries class.

C#
protected PointTemplateSeries()

Fields

DefaultVisualStyleProperty

DependencyProperty

Identifies the DefaultVisualStyle property.

C#
public static readonly DependencyProperty DefaultVisualStyleProperty

Identifies the DefaultVisualStyleSelector property.

C#
public static readonly DependencyProperty DefaultVisualStyleSelectorProperty

PointTemplateProperty

DependencyProperty

Identifies the PointTemplate property.

C#
public static readonly DependencyProperty PointTemplateProperty

Identifies the PointTemplateSelector property.

C#
public static readonly DependencyProperty PointTemplateSelectorProperty

RenderOptionsProperty

DependencyProperty

Identifies the RenderOptions dependency property.

C#
public static readonly DependencyProperty RenderOptionsProperty

Properties

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.

C#
public Style DefaultVisualStyle { get; set; }

Gets or sets the StyleSelector instance used to select the appropriate style that will define the appearance of series' default visuals (if any).

C#
public StyleSelector DefaultVisualStyleSelector { get; set; }

PointTemplate

DataTemplate

Gets or sets the DataTemplate property used to visualize each PointTemplateSeries presented.

C#
public DataTemplate PointTemplate { get; set; }

Gets the collection that stores index-based templates for each data point.

C#
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.

C#
public DataTemplateSelector PointTemplateSelector { get; set; }

Gets or sets the ChartRenderOptions for controlling the rendering behavior.

C#
public ChartRenderOptions RenderOptions { get; set; }

Methods

Gets the UIElement instance used to visualize the corresponding data point.

C#
public UIElement GetDataPointVisual(DataPoint point)
Parameters:pointDataPointReturns:

UIElement

Core entry point for calculating the size of a node's content.

C#
protected override RadSize MeasureNodeOverride(ChartNode node, object content)
Parameters:nodeChartNodecontentobjectReturns:

RadSize

Overrides: PresenterBase.MeasureNodeOverride(ChartNode, object)

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.

C#
public override void OnApplyTemplate()

Overrides: ChartSeries.OnApplyTemplate()

Occurs when the presenter has been successfully attached to its owning RadChartBase instance.

C#
protected override void OnAttached()

Overrides: ChartSeries.OnAttached()

Occurs when the presenter has been successfully detached from its owning RadChartBase instance.

C#
protected override void OnDetached(RadChartBase oldChart)
Parameters:oldChartRadChartBase

Overrides: ChartSeries.OnDetached(RadChartBase)

Occurs when a System.Windows.FrameworkElement has been constructed and added to the object tree.

C#
protected override void OnLoaded(object sender, RoutedEventArgs e)
Parameters:senderobjecteRoutedEventArgs

Overrides: ChartSeries.OnLoaded(object, RoutedEventArgs)

Fired when Point animations are about to be played.

C#
protected override void OnPlayPointAnimations(bool hidePointsOnLoad)
Parameters:hidePointsOnLoadbool

When true, the animated element is collapsed until the start of the animation.

Overrides: ChartSeries.OnPlayPointAnimations(bool)

Occurs when the RenderOptions have been changed.

C#
protected void OnRenderOptionsChanged(ChartRenderOptions oldRenderOptions, ChartRenderOptions newRenderOptions)
Parameters:oldRenderOptionsChartRenderOptionsnewRenderOptionsChartRenderOptions