Class
PointTemplateSeries

Base class for all ChartSeries that may visualize their data points through Data templates.

Definition

Namespace:Telerik.UI.Xaml.Controls.Chart

Assembly:Telerik.WinUI.Controls.dll

Syntax:

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

Inheritance: objectRadControlPresenterBaseChartElementPresenterChartSeriesPointTemplateSeries

Derived Classes: CartesianSeriesPolarSeries

Implements: IChartElementPresenterIChartSeriesIElementPresenter

Inherited Members ChartSeries.IsSelectedPropertyChartSeries.AllowSelectPropertyChartSeries.ShowLabelsPropertyChartSeries.ItemsSourcePropertyChartSeries.ClipToPlotAreaPropertyChartSeries.IsSelectedBindingPropertyChartSeries.PaletteIndexPropertyChartSeries.HitTest(Rect)ChartSeries.HitTestDataPoints(Rect)ChartSeries.HitTestElementsCore(Rect, bool, bool)ChartSeries.SelectRectPoints(ref Rect)ChartSeries.HitTestDataPointsCore(Rect)ChartSeries.HitTestDataPointsCore(Rect, bool)ChartSeries.GetDataPointLabels(DataPoint)ChartSeries.OnTemplateApplied()ChartSeries.OnCreateAutomationPeer()ChartSeries.IsSelectedChartSeries.AllowSelectChartSeries.PaletteIndexChartSeries.LabelDefinitionsChartSeries.IsSelectedBindingChartSeries.ShowLabelsChartSeries.DisplayNameChartSeries.ClipToPlotAreaChartSeries.ItemsSourceChartSeries.ActualPaletteIndexChartSeries.DataBindingCompleteChartElementPresenter.ZIndexChartElementPresenter.ChartPresenterBase.InfinitySizePresenterBase.InfinityPointPresenterBase.RefreshNode(object)PresenterBase.InvalidatePalette()PresenterBase.RefreshNodeCore(Node)PresenterBase.CreateContentPresenter(object, DataTemplate)PresenterBase.RenderSurfacePresenterBase.CompositorPresenterBase.ContainerVisualRootRadControl.EndVisualStateUpdate(bool, bool)RadControl.UpdateVisualState(bool)RadControl.BeginVisualStateUpdate()RadControl.SetVisualState(string, bool)RadControl.CanUpdateVisualState()RadControl.ComposeVisualStateName()RadControl.MeasureOverride(Size)RadControl.ArrangeOverride(Size)RadControl.OnApplyTemplate()RadControl.OnIsEnabledChanged(bool, bool)RadControl.LoadCore()RadControl.OnLoaded()RadControl.UnloadCore()RadControl.CurrentVisualStateRadControl.IsLoadedRadControl.IsLoadingRadControl.IsUnloadedRadControl.WasUnloadedRadControl.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

IsVisibleInLegendProperty

Identifies the IsVisibleInLegend dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsVisibleInLegendProperty

Field Value

DependencyProperty

LegendTitleProperty

Identifies the LegendTitle dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty LegendTitleProperty

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

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

IsVisibleInLegend

Gets or sets a value indicating whether this series will be used in RadLegendControl to display chart legend.

Declaration

cs-api-definition
public bool IsVisibleInLegend { get; set; }

Property Value

bool

LegendTitle

Gets or sets the title that will be used by RadLegendControl to display chart legend.

Declaration

cs-api-definition
public string LegendTitle { get; set; }

Property Value

string

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>

Methods

ApplyTemplateCore()

Adds the ContentPresenter instance used to retrieve the desired size of each chart model.

Declaration

cs-api-definition
protected override bool ApplyTemplateCore()

Returns

bool

Overrides ChartSeries.ApplyTemplateCore()

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(Node, object)

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

Declaration

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

Parameters

node

Node

content

object

Returns

RadSize

Overrides PresenterBase.MeasureNodeOverride(Node, object)

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)

UnapplyTemplateCore()

Removes the current control template. Occurs when a template has already been applied and a new one is applied.

Declaration

cs-api-definition
protected override void UnapplyTemplateCore()

Overrides RadControl.UnapplyTemplateCore()