[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
 [Expand]What's Installed
 [Expand].NET Core 3 Support
 [Expand]Common Concepts
 [Expand]MVVM Framework
 [Collapse]Controls and Libraries
  [Expand]Data Grid
  [Expand]Ribbon, Bars and Menu
  [Collapse]Charts Suite
   [Collapse]Chart Control
    [Expand]Getting Started
    [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
      Provide Data for the Drill Mode
      Best Practices: Display Large Data
      Series Scale Types
      Data Aggregation
      Calculate Summaries
      Data Filtering
      Work Time and Workday Configuration
      Top N and Others
      Empty Points
    [Expand]Chart Elements
    [Expand]Appearance Customization
    [Expand]End-User Features
    [Expand]Design-Time Features
    [Expand]Additional Resources
   [Expand]Chart3D Control
  [Expand]Pivot Grid
  [Expand]Rich Text Editor
  [Expand]Tree List
  [Expand]Gauge Controls
  [Expand]Map Control
  [Expand]Layout Management
  [Expand]Windows Modern UI
  [Expand]Data Editors
  [Expand]Navigation Controls
  [Expand]Spell Checker
  [Expand]Property Grid
  [Expand]PDF Viewer
  [Expand]TreeMap Control
  [Expand]Gantt Control
  [Expand]Diagram Control
  [Expand]Windows and Utility Controls
   Dialogs, Notifications and Panels
  [Expand]Scheduler (legacy)
 [Expand]Scaffolding Wizard
  Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Report and Dashboard Server
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

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:

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?​​​​​​​