ClassPointTemplateSeries
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:
public abstract class PointTemplateSeries : ChartSeries, IChartSeries, IChartElementPresenter, IElementPresenter
Inheritance: objectRadControlPresenterBaseChartElementPresenterChartSeriesPointTemplateSeries
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
IsVisibleInLegendProperty
Identifies the IsVisibleInLegend dependency property.
Declaration
public static readonly DependencyProperty IsVisibleInLegendProperty
Field Value
DependencyProperty
LegendTitleProperty
Identifies the LegendTitle dependency property.
Declaration
public static readonly DependencyProperty LegendTitleProperty
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
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
IsVisibleInLegend
Gets or sets a value indicating whether this series will be used in RadLegendControl to display chart legend.
LegendTitle
Gets or sets the title that will be used by RadLegendControl to display chart legend.
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>
Methods
ApplyTemplateCore()
Adds the ContentPresenter instance used to retrieve the desired size of each chart model.
GetDataPointVisual(DataPoint)
Gets the UIElement instance used to visualize the corresponding data point.
Declaration
public UIElement GetDataPointVisual(DataPoint point)
Parameters
point
Returns
UIElement
MeasureNodeOverride(Node, object)
Core entry point for calculating the size of a node's content.
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
UnapplyTemplateCore()
Removes the current control template. Occurs when a template has already been applied and a new one is applied.
Declaration
protected override void UnapplyTemplateCore()
Overrides