Skip to main content

Series.DataSource Property

Gets or sets a data source, which provides data for series data points.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

[NonTestableProperty]
public object DataSource { get; set; }

#Property Value

Type Description
Object

An object representing a series' data source.

#Remarks

After the data source is assigned to the DataSource property, it is also required to provide appropriate values for the Series.ArgumentDataMember and Series.ValueDataMember properties.

When binding a series, make sure to define an appropriate scale type for its arguments and values (via the Series.ArgumentScaleType and Series.ValueScaleType properties).

For more information, see Bind a Series to a Data Source.

See Also