[Expand]General Information
[Collapse]WinForms Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Build an Application
 [Collapse]Controls and Libraries
  [Expand]Forms and User Controls
  [Expand]Messages, Notifications and Dialogs
  [Expand]Editors and Simple Controls
  [Expand]Ribbon, Bars and Menu
  [Expand]Application UI Manager
  [Expand]Docking Library
  [Expand]Data Grid
  [Expand]Vertical Grid
  [Expand]Property Grid
  [Expand]Pivot Grid
  [Expand]Tree List
  [Collapse]Chart Control
   [Expand]Getting Started
   [Expand]Fundamentals
   [Collapse]Providing Data
    [Collapse]Providing Data
      Create a Series Manually
      Manually Add Points to a Series
      Specify Series Data Members
      Generate Series from a Data Source
      Integration with a Data Grid, Vertical Grid, Tree List or List Box via ControlRowSource
      Pivot Charting (Integration with a Pivot Grid Control)
      Series Customization
      Series Scale Types
      Series Point Colorizer
      Series Colorizer
    [Expand]Data Representation
   [Expand]Appearance Customization
   [Expand]End-User Features
   [Expand]Design-Time Features
   [Expand]Visual Elements
   [Expand]Examples
   [Expand]Additional Resources
  [Expand]Diagrams
  [Expand]Gauges
  [Expand]Map Control
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Spell Checker
  [Expand]Form Layout Managers
  [Expand]Navigation Controls
  [Expand]Printing-Exporting
  [Expand]PDF Viewer
   Reporting
  [Expand]Snap
  [Expand]TreeMap Control
 [Expand]Common Features
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Create a Series Manually

This document describes how to add a new series to the chart manually and consists of the following sections:

Note

  • All series that the chart displays should have compatible series views. The first series's view defines the available series view groups the chart can display and specifies the chart's diagram type. Series with an incompatible view are not displayed.
  • The chart's legend shows series in the order they appear in the chart's ChartControl.Series collection.

Expanded Create a Series at Design Time

Use one of following approaches to add a series at design time:

  • Using the Properties Window

    Select the chart control, locate the ChartControl.Series property in the Properties window and click its ellipsis button.

    Click Add... in the invoked Series Collection Editor dialog window.

    Then, select the series view type in the Choose Series View dialog and click OK to save the changes.

  • Using the Chart Designer

    Select the chart control, click its smart tag, and in the invoked actions list, click the Chart Designer... item.

    Locate the series in the invoked Chart Designer's chart element tree and click the + button. Select the series view type in the drop-down list.

  • Using the Smart Tag

    Select the chart control, click its smart tag, and in the invoked actions list, click the Series... item.

    Click Add... in the invoked Series Collection Editor.

    Then, select the series view type in the appeared Choose Series View dialog for the new series and click OK to perform selection.

Note that series are only displayed if they have at least one data point. The Chart control provides two approaches to populate the series with points:

Expanded Create a Series at Runtime

The following code demonstrates how to add a series at runtime manually:

After that fill a series with data using one of the ways: add points to a series manually or bind series to a data source.

The code above uses the following classes and members:

SymbolDescription
Series Represents an individual series within a chart control.
ChartControl.Series Provides access to the chart control's collection of series objects.

Expanded See Also

Is this topic helpful?​​​​​​​