ActiveReports Developer 7
DataBindXY(Object,String,Object,String) Method
See Also 
GrapeCity.ActiveReports.Chart.v7 Assembly > GrapeCity.ActiveReports.Chart Namespace > DataPointsCollection Class > DataBindXY Method : DataBindXY(Object,String,Object,String) Method

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.

Glossary Item Box

Binds the X value and Y values of the collection's DataPoints to the specified columns of the specified data sources.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub DataBindXY( _
   ByVal xDataSource As System.Object, _
   ByVal xField As System.String, _
   ByVal yDataSource As System.Object, _
   ByVal yFields As System.String _
) 
C# 
public void DataBindXY( 
   System.object xDataSource,
   System.string xField,
   System.object yDataSource,
   System.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