[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Collapse]WPF Controls
  Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
   Reporting
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Collapse]Charts Suite
   [Collapse]Chart Control
    [Expand]Getting Started
    [Expand]Fundamentals
    [Collapse]Providing Data
      Create a Series Manually
      Add Points to a Series Manually
      Bind a Series to a Data Source
      Define a Template for Automatic Series
      Series Scale Types
      Data Aggregation
      Data Filtering
      Colorizers
      Work Time and Workday Configuration
      Top N and Others
    [Expand]Chart Elements
    [Expand]Appearance Customization
    [Expand]End-User Features
    [Expand]Design-Time Features
    [Expand]Examples
    [Expand]Additional Resources
   [Expand]Chart3D Control
  [Expand]Pivot Grid
  [Expand]Scheduler
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Printing-Exporting
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
 [Expand]Localization
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[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

Providing Data

The documents in this section describe approaches for providing data to your chart.

There are two general ways of providing data to your chart.

Manual series creation

Each series is explicitly added to the diagram's collection. A series is not displayed unless it has points, so you should populate your series with points in one of the two following ways:

- add points to a series collection manually by specifying point arguments and values individually;

- specify a data source for a manually created series and populate this series with points automatically, based on the specified fields.

Automatic series creation

In this type of series creation, you specify a data source and a common template. Based on the data source and common template, series are created and populated automatically.

Note that you do not need to specify a scale type before providing data for a chart, because the Series.ArgumentScaleType property is set to Auto mode by default. For more details, see Series Scale Types.

After populating data to the Chart, you can process this data. The available operations are: Data Aggregation, Data Filtering and Top N and Others Grouping.

Also, data points can be colored depending on data values. Refer to the Series Point Colorizer document to learn more.

The Chart control allows you to not display the non-working days on the date-time axis of arguments. Refer to the Work Time and Workday Configuration document to learn how this can be done.

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