Class
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:

cs-api-definition
public abstract class PointTemplateSeries : ChartSeries, IChartElementPresenter

Inheritance: objectRadControlBasePresenterBaseChartElementPresenterChartSeriesPointTemplateSeries

Derived Classes: CartesianSeriesPolarSeries

Implements: IChartElementPresenter

Inherited Members ChartSeries.SeriesAnimationPropertyChartSeries.PointAnimationPropertyChartSeries.ShowLabelsPropertyChartSeries.IsSelectedPropertyChartSeries.AllowSelectPropertyChartSeries.TrackBallTemplatePropertyChartSeries.TrackBallInfoTemplatePropertyChartSeries.ItemsSourcePropertyChartSeries.ClipToPlotAreaPropertyChartSeries.DisplayNamePropertyChartSeries.TooltipTemplatePropertyChartSeries.LabelConnectorsSettingsPropertyChartSeries.PlaySeriesAnimation()ChartSeries.PlayPointAnimations()ChartSeries.OnPlaySeriesAnimation(bool)ChartSeries.GetDataPointLabels(DataPoint)ChartSeries.HitTest(Rect)ChartSeries.HitTestDataPoints(Rect)ChartSeries.HitTestElements(Rect)ChartSeries.HitTestElementsCore(Rect)ChartSeries.HitTestDataPointsCore(Rect)ChartSeries.OnVisibilityChanged()ChartSeries.GetLabelConnector(ChartSeriesLabelPositionInfo)ChartSeries.SeriesAnimationChartSeries.PointAnimationChartSeries.LabelDefinitionsChartSeries.ShowLabelsChartSeries.IsSelectedChartSeries.AllowSelectChartSeries.TrackBallTemplateChartSeries.TrackBallInfoTemplateChartSeries.DisplayNameChartSeries.TooltipTemplateChartSeries.ClipToPlotAreaChartSeries.ItemsSourceChartSeries.LabelConnectorsSettingsChartSeries.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

PointTemplateSeries()

Initializes a new instance of the PointTemplateSeries class.

Declaration

cs-api-definition
protected PointTemplateSeries()

Fields

DefaultVisualStyleProperty

Identifies the DefaultVisualStyle property.

Declaration

cs-api-definition
public static readonly DependencyProperty DefaultVisualStyleProperty

Field Value

DependencyProperty

DefaultVisualStyleSelectorProperty

Identifies the DefaultVisualStyleSelector property.

Declaration

cs-api-definition
public static readonly DependencyProperty DefaultVisualStyleSelectorProperty

Field Value

DependencyProperty

PointTemplateProperty

Identifies the PointTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty PointTemplateProperty

Field Value

DependencyProperty

PointTemplateSelectorProperty

Identifies the PointTemplateSelector property.

Declaration

cs-api-definition
public static readonly DependencyProperty PointTemplateSelectorProperty

Field Value

DependencyProperty

RenderOptionsProperty

Identifies the RenderOptions dependency property.

Declaration

cs-api-definition
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

cs-api-definition
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

cs-api-definition
public StyleSelector DefaultVisualStyleSelector { get; set; }

Property Value

StyleSelector

PointTemplate

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

Declaration

cs-api-definition
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

cs-api-definition
public DataTemplateSelector PointTemplateSelector { get; set; }

Property Value

DataTemplateSelector

PointTemplates

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

Declaration

cs-api-definition
public ObservableCollection<DataTemplate> PointTemplates { get; }

Property Value

ObservableCollection<DataTemplate>

RenderOptions

Gets or sets the ChartRenderOptions for controlling the rendering behavior.

Declaration

cs-api-definition
public ChartRenderOptions RenderOptions { get; set; }

Property Value

ChartRenderOptions

Methods

GetDataPointVisual(DataPoint)

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

Declaration

cs-api-definition
public UIElement GetDataPointVisual(DataPoint point)

Parameters

point

DataPoint

Returns

UIElement

MeasureNodeOverride(ChartNode, object)

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

Declaration

cs-api-definition
protected override RadSize MeasureNodeOverride(ChartNode node, object content)

Parameters

node

ChartNode

content

object

Returns

RadSize

Overrides PresenterBase.MeasureNodeOverride(ChartNode, object)

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

cs-api-definition
public override void OnApplyTemplate()

Overrides ChartSeries.OnApplyTemplate()

OnAttached()

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

Declaration

cs-api-definition
protected override void OnAttached()

Overrides ChartSeries.OnAttached()

OnDetached(RadChartBase)

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

Declaration

cs-api-definition
protected override void OnDetached(RadChartBase oldChart)

Parameters

oldChart

RadChartBase

Overrides ChartSeries.OnDetached(RadChartBase)

OnLoaded(object, RoutedEventArgs)

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

Declaration

cs-api-definition
protected override void OnLoaded(object sender, RoutedEventArgs e)

Parameters

sender

object

e

RoutedEventArgs

Overrides ChartSeries.OnLoaded(object, RoutedEventArgs)

OnPlayPointAnimations(bool)

Fired when Point animations are about to be played.

Declaration

cs-api-definition
protected override void OnPlayPointAnimations(bool hidePointsOnLoad)

Parameters

hidePointsOnLoad

bool

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

Overrides ChartSeries.OnPlayPointAnimations(bool)

OnRenderOptionsChanged(ChartRenderOptions, ChartRenderOptions)

Occurs when the RenderOptions have been changed.

Declaration

cs-api-definition
protected void OnRenderOptionsChanged(ChartRenderOptions oldRenderOptions, ChartRenderOptions newRenderOptions)

Parameters

oldRenderOptions

ChartRenderOptions

newRenderOptions

ChartRenderOptions