ActiveReports 11
DataBindXY(Object,String,Object,String) Method

GrapeCity.ActiveReports.Chart.v11 Assembly > GrapeCity.ActiveReports.Chart Namespace > DataPointsCollection Class > DataBindXY Method : DataBindXY(Object,String,Object,String) Method
Specifies the data source that will supply the X values for the DataPoints.
Specifies the name as string of the column that will supply the X values for the DataPoints.
Specifes the Y value(s) of the DataPoint object added to the collection (one or more comma-separated values).
Specifies the comma-separated column name(s) that will supply the Y value(s) for the DataPoints.
Binds the X value and Y values of the collection's DataPoints to the specified columns of the specified data sources.
Syntax
'Declaration
 
Public Overloads Sub DataBindXY( _
   ByVal xDataSource As Object, _
   ByVal xField As String, _
   ByVal yDataSource As Object, _
   ByVal yFields As String _
) 
public void DataBindXY( 
   object xDataSource,
   string xField,
   object yDataSource,
   string yFields
)

Parameters

xDataSource
Specifies the data source that will supply the X values for the DataPoints.
xField
Specifies the name as string of the column that will supply the X values for the DataPoints.
yDataSource
Specifes the Y value(s) of the DataPoint object added to the collection (one or more comma-separated values).
yFields
Specifies the comma-separated column name(s) that will supply the Y value(s) for the DataPoints.
See Also

Reference

DataPointsCollection Class
DataPointsCollection Members
Overload List