ActiveReports 8
DataBindXY(Object,String,Object,String) Method
See Also 
GrapeCity.ActiveReports.Chart.v8 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.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also