Chart::DataBindTable Method (IEnumerable^)

.NET Framework (current version)
 

Automatically creates and binds series data to the specified data table.

Namespace:   System.Windows.Forms.DataVisualization.Charting
Assembly:  System.Windows.Forms.DataVisualization (in System.Windows.Forms.DataVisualization.dll)

public:
void DataBindTable(
	IEnumerable^ dataSource
)

Parameters

dataSource
Type: System.Collections::IEnumerable^

The data source that is data bound by a chart, which can be any IEnumerable object.

Each column of the table becomes a Y-value for a series, with one series per column.

.NET Framework
Available since 4.0
Return to top
Show: