Version

Chart Series

Purpose

This topic introduces the concept of chart’s Series objects and guides you to the discussion of types of series, data binding, and series' requirements.

The XamDataChart™ control provides Series property that allows adding Series objects to chart plot area. You can add different chart series and display multiple data sources in the same chart control and thus create composite chart. Each series that is added to the chart should have appropriate binding set to data members and axis types.

Data Binding

All types of Series have ItemsSource property for binding to data source. Some series require more than one data column or property for each data item in order to render correctly. Therefore, there is no common data mapping property for all Series. Instead, the process of data mapping to Series is accomplished using the Series object’s unique *MemberPath properties.

Series Types

When multiple Series are added to the chart control, each successive series will be layered on top of the previous series starting from the first to the last series. This allows easy composite creation of different types of chart series. However, there are some restrictions on which types of chart series that can be used together. For more information on this please read the appropriate Series Types and Adding Multiple Series sections.

Series Requirements

The chart control supports a number of various series and some series have specific requirements that need to be met. Please refer to the Series Requirements article for more information on series requirements.

Legend

The Legend property of a Series determines which Legend will list the Legend Item representing Title of the Series as well as it legend badge.

This section provides you with useful information about task-based procedures on working with series of the XamDataChart control.