ChartControl.BindToData(ViewType, Object, String, String, String[]) Method
Binds a chart to data.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.2.UI.dll
NuGet Package: DevExpress.Win.Charts
#Declaration
public void BindToData(
ViewType viewType,
object dataSource,
string seriesDataMember,
string argumentDataMember,
params string[] valueDataMembers
)
#Parameters
Name | Type | Description |
---|---|---|
view |
View |
A View |
data |
Object | A Object that is the datasource for a chart. This value is assigned to the Chart |
series |
String | A String that is the name of the data field whose values are used to automatically generate and populate series. This value is assigned to the Chart |
argument |
String | A String that is the name of the data field that contains arguments for series points. This value is assigned to the Series |
value |
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 Series |