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 DataSeries

Represents a data series that is visualized by the RadChart in one of the ChartAreas. It is an RadObservableCollection<T> of DataPoint items. Additionally, contains properties to control the data series visualization.

Inheritance
System.Object
RadObservableCollection<DataPoint>
RadHierarchicalObservableCollection<DataPoint>
DataSeries
Inherited Members
RadHierarchicalObservableCollection<DataPoint>.AddRange(IEnumerable<DataPoint>)
RadHierarchicalObservableCollection<DataPoint>.ItemPropertyChanged
RadObservableCollection<DataPoint>.InsertRange(IEnumerable<DataPoint>, Int32)
RadObservableCollection<DataPoint>.RemoveRange(IEnumerable<DataPoint>)
RadObservableCollection<DataPoint>.Reset()
RadObservableCollection<DataPoint>.OnCollectionChanged(NotifyCollectionChangedEventArgs)
RadObservableCollection<DataPoint>.OnPropertyChanged(PropertyChangedEventArgs)
RadObservableCollection<DataPoint>.OnCollectionChanging(CollectionChangingEventArgs)
RadObservableCollection<DataPoint>.SuspendNotifications()
RadObservableCollection<DataPoint>.ResumeNotifications()
RadObservableCollection<DataPoint>.RaiseCollectionChangedOnResume()
RadObservableCollection<DataPoint>.IsDirty
RadObservableCollection<DataPoint>.ShouldResetOnResumeNotifications
RadObservableCollection<DataPoint>.NotificationsSuspended
RadObservableCollection<DataPoint>.AddedItems
RadObservableCollection<DataPoint>.RemovedItems
RadObservableCollection<DataPoint>.CollectionChanging
RadObservableCollection<DataPoint>.PropertyChanged
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll

Syntax

public class DataSeries : RadHierarchicalObservableCollection<DataPoint>, ISuspendNotifications, INotifyCollectionStateProvider, INotifyItemPropertyChanged, ILogicalItem

Constructors

DataSeries()

Initializes a new instance of the DataSeries class.

Declaration
public DataSeries()

Properties

Definition

Gets or sets the chart type that will be used to visualize the DataSeries.

Declaration
public ISeriesDefinition Definition { get; set; }
Property Value
ISeriesDefinition

The definition of the series.

LegendLabel

The label displayed as information in the ChartLegend.

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

ZPosition

Gets the ZPosition of the data series.

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

Methods

ClearItems()

Removes all items from the collection.

Declaration
protected override void ClearItems()
Overrides
Telerik.Windows.Controls.Charting.RadHierarchicalObservableCollection<Telerik.Windows.Controls.Charting.DataPoint>.ClearItems()

InsertItem(Int32, DataPoint)

Inserts an element into the System.Collections.ObjectModel.Collection<> at the specified index.

Declaration
protected override void InsertItem(int index, DataPoint item)
Parameters
System.Int32 index

The zero-based index at which item should be inserted.

DataPoint item

The object to insert. The value can be null for reference types.

Overrides
Telerik.Windows.Controls.Charting.RadHierarchicalObservableCollection<Telerik.Windows.Controls.Charting.DataPoint>.InsertItem(System.Int32, Telerik.Windows.Controls.Charting.DataPoint)
Exceptions
System.ArgumentOutOfRangeException

index is less than zero.-or-index is greater than System.Collections.ObjectModel.Collection`1.Count.

RemoveItem(Int32)

Removes the element at the specified index of the System.Collections.ObjectModel.Collection<>.

Declaration
protected override void RemoveItem(int index)
Parameters
System.Int32 index

The zero-based index of the element to remove.

Overrides
Telerik.Windows.Controls.Charting.RadHierarchicalObservableCollection<Telerik.Windows.Controls.Charting.DataPoint>.RemoveItem(System.Int32)
Exceptions
System.ArgumentOutOfRangeException

index is less than zero.-or-index is equal to or greater than System.Collections.ObjectModel.Collection`1.Count.

Extension Methods

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

See Also

LegendLabel
Definition
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.