• Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop
    Web
    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for ASP.NET AJAX UI for ASP.NET MVC UI for ASP.NET Core UI for Blazor UI for Silverlight UI for PHP UI for JSP
    Mobile
    UI for .NET MAUI UI for Xamarin
    Document Management
    Telerik Document Processing
    Desktop
    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF UI for UWP
    Reporting & Mocking
    Telerik Reporting Telerik Report Server Telerik JustMock
    Automated Testing
    Test Studio Test Studio Dev Edition
    CMS
    Sitefinity
    UI/UX Design
    Unite UX
    Debugging
    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Jam FiddlerCap FiddlerCore
    Extended Reality
    UI for Unity XR
    Free Tools
    JustAssembly JustDecompile VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Docs & Support
  • Pricing
  • Search
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class PointTemplateSeries

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

Inheritance
System.Object
RadControlBase
PresenterBase
ChartElementPresenter
ChartSeries
PointTemplateSeries
CartesianSeries
PolarSeries
Inherited Members
ChartSeries.SeriesAnimationProperty
ChartSeries.PointAnimationProperty
ChartSeries.ShowLabelsProperty
ChartSeries.IsSelectedProperty
ChartSeries.AllowSelectProperty
ChartSeries.TrackBallTemplateProperty
ChartSeries.TrackBallInfoTemplateProperty
ChartSeries.ItemsSourceProperty
ChartSeries.ClipToPlotAreaProperty
ChartSeries.DisplayNameProperty
ChartSeries.TooltipTemplateProperty
ChartSeries.LabelConnectorsSettingsProperty
ChartSeries.PlaySeriesAnimation()
ChartSeries.PlayPointAnimations()
ChartSeries.OnPlaySeriesAnimation(Boolean)
ChartSeries.GetDataPointLabels(DataPoint)
ChartSeries.HitTest(Rect)
ChartSeries.HitTestDataPoints(Rect)
ChartSeries.HitTestElements(Rect)
ChartSeries.HitTestElementsCore(Rect)
ChartSeries.HitTestDataPointsCore(Rect)
ChartSeries.OnVisibilityChanged()
ChartSeries.GetLabelConnector(ChartSeriesLabelPositionInfo)
ChartSeries.SeriesAnimation
ChartSeries.PointAnimation
ChartSeries.LabelDefinitions
ChartSeries.ShowLabels
ChartSeries.IsSelected
ChartSeries.AllowSelect
ChartSeries.TrackBallTemplate
ChartSeries.TrackBallInfoTemplate
ChartSeries.DisplayName
ChartSeries.TooltipTemplate
ChartSeries.ClipToPlotArea
ChartSeries.ItemsSource
ChartSeries.LabelConnectorsSettings
ChartSeries.SeriesAnimationCompleted
ChartSeries.PointAnimationsCompleted
ChartSeries.DataBindingComplete
ChartElementPresenter.OnPropertyChanged(DependencyPropertyChangedEventArgs)
ChartElementPresenter.ZIndex
ChartElementPresenter.Chart
PresenterBase.InfinitySize
PresenterBase.InfinityPoint
PresenterBase.IChartElementPresenter.MeasureContent(ChartNode, Object)
PresenterBase.IChartElementPresenter.MeasureVisual(ChartNode, RadSize)
PresenterBase.RefreshNode(ChartNode)
PresenterBase.InvalidatePalette()
PresenterBase.RefreshNodeCore(ChartNode)
PresenterBase.CreateContentPresenter(Object, DataTemplate)
PresenterBase.OnInitialized(EventArgs)
PresenterBase.IChartElementPresenter.IsVisible
PresenterBase.RenderSurface
RadControlBase.OnUnloaded(Object, RoutedEventArgs)
RadControlBase.IsLoaded
RadControlBase.IsTemplateApplied
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 System.Windows.Controls.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
System.Windows.Controls.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 System.Windows.Controls.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
System.Windows.Controls.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
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 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
ChartSeries.OnApplyTemplate()

OnAttached()

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

Declaration
protected override void OnAttached()
Overrides
ChartSeries.OnAttached()

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
ChartSeries.OnDetached(RadChartBase)

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
ChartSeries.OnLoaded(Object, RoutedEventArgs)

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
ChartSeries.OnPlayPointAnimations(Boolean)

OnRenderOptionsChanged(ChartRenderOptions, ChartRenderOptions)

Occurs when the RenderOptions have been changed.

Declaration
protected void OnRenderOptionsChanged(ChartRenderOptions oldRenderOptions, ChartRenderOptions newRenderOptions)
Parameters
ChartRenderOptions oldRenderOptions

ChartRenderOptions newRenderOptions

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)

Was this article helpful?

Tell us how we can improve this article

Skip
Getting Started
  • Install Now
  • Demos
  • SDK Samples Browser
  • Sample Applications
Support Resources
  • Code Library
  • Knowledge Base
  • MVVM Support
  • Videos
  • GitHub SDK Repository
Community
  • Forums
  • Blogs
  • XAML Feedback Portal
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.