[]
Binds the X and Y values of the collection's DataPoints to the specified column(s) of the specified data source.
public void DataBindXY(object xDataSource, string xField, object yDataSource, string yFields)
Type | Name | Description |
---|---|---|
object | xDataSource | Specifies the data source object that provides the X value(s). |
string | xField | Specify the name of the column supplying the X value of DataPoints as a string. |
object | yDataSource | Specifies the data source object that provides the Y value(s). |
string | yFields | Specify a comma-separated column names to supply Y values for DataPoints. |
Binds the X value and Y values of the collection's DataPoints to the first column(s) of the specified data source(s).
public void DataBindXY(IEnumerable xValueEnumerable, params IEnumerable[] yEnumerableValues)
Type | Name | Description |
---|---|---|
IEnumerable | xValueEnumerable | Specifies the data source that will supply the X values for the DataPoints. The first available column will be used. |
IEnumerable[] | yEnumerableValues | Specifies the Y value(s) of the DataPoint object added to the collection (one or more comma-separated values). |
Binds the X value and Y values of the collection's DataPoints to a specified data source.
public void DataBindXY(object[] xValues, params double[][] yValues)
Type | Name | Description |
---|---|---|
object[] | xValues | Specifies the array of X values of the DataPoint object added to the collection. |
double[][] | yValues | Specifies the array of Y values of the doubles added to the collection. |