skip navigation
  • Product Bundles

    DevCraft

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

    • AI Coding Assistants
    • Embedded Reporting
    • Document Processing Libraries
    • SSO Account Sign-in

    Web

    Kendo UI UI for Angular UI for Vue UI for jQuery KendoReact UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Telerik JustMock

    CMS

    Sitefinity

    AI Productivity Tools

    AI Coding Assistants

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    KendoReact Free VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
    • What's New
    • Roadmap
    • Release History
  • Support and Learning

    • Support and Learning Hub
    • First Steps
    • Docs
    • Demos
    • Virtual Classroom
    • Forums
    • Videos
    • Blogs
    • Accessibility
    • Submit a Ticket

    Productivity and Design Tools

    • Visual Studio Extensions
    • Visual Studio Templates
    • Embedded Reporting
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class ChartSeriesDescriptor

Represents an abstract definition of a ChartSeries instance. Used together with a ChartSeriesProvider instance to provide dynamic chart series generation, depending on the data specified. The descriptors form a neat hierarchy based on the type of data visualized - e.g. Categorical, Scatter, Financial, etc. This is the base class which encapsulates all the common functionality for all concrete descriptors.

Inheritance
System.Object
ChartSeriesDescriptor
CategoricalSeriesDescriptorBase
PolarSeriesDescriptorBase
ScatterSeriesDescriptor
Namespace: Telerik.Windows.Controls.ChartView
Assembly: Telerik.Windows.Controls.Chart.dll

Syntax

public class ChartSeriesDescriptor : DependencyObject

Constructors

ChartSeriesDescriptor()

Declaration
public ChartSeriesDescriptor()

Fields

ChartDataSourceStyleProperty

Identifies the ChartDataSourceStyle dependency property.

Declaration
public static readonly DependencyProperty ChartDataSourceStyleProperty
Field Value
System.Windows.DependencyProperty

CollectionIndexProperty

Identifies the CollectionIndex dependency property.

Declaration
public static readonly DependencyProperty CollectionIndexProperty
Field Value
System.Windows.DependencyProperty

ItemsSourcePathProperty

Identifies the ItemsSourcePath dependency property.

Declaration
public static readonly DependencyProperty ItemsSourcePathProperty
Field Value
System.Windows.DependencyProperty

StyleProperty

Identifies the Style dependency property.

Declaration
public static readonly DependencyProperty StyleProperty
Field Value
System.Windows.DependencyProperty

TypeConverterProperty

Identifies the TypeConverter dependency property.

Declaration
public static readonly DependencyProperty TypeConverterProperty
Field Value
System.Windows.DependencyProperty

TypePathProperty

Identifies the TypePath dependency property.

Declaration
public static readonly DependencyProperty TypePathProperty
Field Value
System.Windows.DependencyProperty

Properties

ChartDataSourceStyle

Gets or sets the ChartDataSourceStyle.

Declaration
public Style ChartDataSourceStyle { get; set; }
Property Value
System.Windows.Style

CollectionIndex

Gets or sets the index within the Source collection of data (view models) for which the current descriptor should be used. This property is useful when for example a BarSeries needs to be generated for the first data entry and LineSeries for the rest of the entries.

Declaration
public int CollectionIndex { get; set; }
Property Value
System.Int32

DefaultType

Gets the default type of series that are to be created if no TypePath and no Style properties are specified.

Declaration
public virtual Type DefaultType { get; }
Property Value
System.Type

ItemsSourcePath

Gets or sets the name of the property that points to the items source that will feed the generated series.

Declaration
public string ItemsSourcePath { get; set; }
Property Value
System.String

Style

Gets or sets the Style that describes the appearance of the series that are to be created. If no TypePath is specified, the TargetType property of this style object is used to generate the desired series.

Declaration
public Style Style { get; set; }
Property Value
System.Windows.Style

TypeConverter

Gets or sets a converter that can be used to provide the exact type of the series that should be created.

Declaration
public IValueConverter TypeConverter { get; set; }
Property Value
System.Windows.Data.IValueConverter

TypePath

Gets or sets the name of the property that points to the series type that needs to be created.

Declaration
public string TypePath { get; set; }
Property Value
System.String

Methods

CreateDefaultInstance(Object)

Provides the default implementation for the CreateInstance routine.

Declaration
protected ChartSeries CreateDefaultInstance(object context)
Parameters
System.Object context

Returns
ChartSeries

CreateInstance(Object)

Creates an instance of the ChartSeries type, defined by this descriptor.

Declaration
public ChartSeries CreateInstance(object context)
Parameters
System.Object context

The context (this is the raw data collection or the data view model) for which a ChartSeries needs to be created.

Returns
ChartSeries

CreateInstanceCore(Object)

Core entry point for creating the ChartSeries type defined by this descriptor. Allows inheritors to provide custom implementation.

Declaration
protected virtual ChartSeries CreateInstanceCore(object context)
Parameters
System.Object context

The context (this is the raw data collection or the data view model) for which a ChartSeries needs to be created.

Returns
ChartSeries

Extension Methods

CollectionExtensions.ToEnumerable<T>(T)
EnumerableExtensions.ToEnumerable<T>(T)
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.