Chart.DataBindTable(IEnumerable, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates and binds series data to the specified data table, and optionally populates multiple x-values.
public System.Web.Helpers.Chart DataBindTable(System.Collections.IEnumerable dataSource, string xField = default);
member this.DataBindTable : System.Collections.IEnumerable * string -> System.Web.Helpers.Chart
Public Function DataBindTable (dataSource As IEnumerable, Optional xField As String = null) As Chart
Parameters
- dataSource
- IEnumerable
The chart data source. This can be can be any IEnumerable object.
- xField
- String
The name of the table column used for the series x-values.
Returns
The chart.