Skip to main content

Bind a Series to a Data Source

This document describes how to specify a data source for a manually created series so that it is populated with points based on the specified fields. This is an alternative approach to adding series points manually.

After you create a series manually, it is not displayed unless it has points. You can force a series to obtain its data from your project’s data source.

To do this, assign your data source to the Series.DataSource property, and define the Series.ArgumentDataMember and Series.ValueDataMember properties.

If a series type requires more than one value to be provided for its points, these values are specified via attached properties (e.g., BubbleSeries2D.WeightDataMember).

For code examples, refer to the following tutorials.

MVVM Binding

See Also