ActiveReports.Chart Request technical support
DataBindXY(Object,String,Object,String) Method
See Also 


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.
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) 
Overloads Public Sub DataBindXY( _
   ByVal xDataSource As Object, _
   ByVal xField As String, _
   ByVal yDataSource As Object, _
   ByVal yFields As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As DataPointsCollection
Dim xDataSource As Object
Dim xField As String
Dim yDataSource As Object
Dim yFields As String
 
instance.DataBindXY(xDataSource, xField, yDataSource, yFields)
C# 
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