WebChartControl.BindToData(ViewType, Object, String, String, String[]) Method
Binds a chart to data.
Namespace: DevExpress.XtraCharts.Web
Assembly: DevExpress.XtraCharts.v24.2.Web.dll
NuGet Package: DevExpress.Web.Visualization
#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 ASPx |
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 Web |
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 |