Skip to main content

Series.BindToData(Object, String, String[]) Method

Binds a series to data.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public void BindToData(
    object dataSource,
    string argumentDataMember,
    params string[] valueDataMembers
)

Parameters

Name Type Description
dataSource Object

A Object that is the datasource for a series. This value is assigned to the Series.DataSource property.

argumentDataMember String

A String that is the name of the data field that contains arguments for series points. This value is assigned to the SeriesBase.ArgumentDataMember property of a series.

valueDataMembers String[]

An array of String values that are the names of data fields that contain information on data values of series points. These values are assigned to the SeriesBase.ValueDataMembers property of a series.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the BindToData(Object, String, String[]) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also