Automatically creates and binds series to the specified data table, and optionally populates X-values.
Automatically creates and binds series to specified data table. Each column of the table becomes a Y value in a separate series. Series X value field may also be provided.
Visual Basic (Declaration) | |
---|---|
Public Overloads Sub DataBindTable( _ ByVal dataSource As IEnumerable, _ ByVal xField As String _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void DataBindTable( IEnumerable dataSource, string xField ) |
Parameters
- dataSource
- The data source, which can be any IEnumerable object.
Data source. - xField
- Name of the field used for the series' X-values.
Name of the field for series X values.
Each column of the table becomes a Y-value for a series, with one series per column.
The series' XValue field can also be provided.
Note: We highly recommend reading the Data Binding topic for help in determining how to bind your data.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family