[]
Bind data with specified name property, value property and the url of the action which is used for reading data.
public FlexPieBaseBuilder<T, TControl, TBuilder> Bind(string nameProperty, string valueProperty, string readActionUrl)
Type | Name | Description |
---|---|---|
string | nameProperty | Gets or sets the name of the property that contains the name of the data item. |
string | valueProperty | The name of the property that contains the Y values. |
string | readActionUrl | The url of the action which is used for reading data |
Type | Description |
---|---|
FlexPieBaseBuilder<T, TControl, TBuilder> | Current builder |
Bind data with specified name property and value property of the data source.
public FlexPieBaseBuilder<T, TControl, TBuilder> Bind(string nameProperty, string valueProperty, IEnumerable<T> sourceCollection = null)
Type | Name | Description |
---|---|---|
string | nameProperty | Gets or sets the name of the property that contains the name of the data item. |
string | valueProperty | The name of the property that contains the Y values. |
IEnumerable<T> | sourceCollection | The data source |
Type | Description |
---|---|
FlexPieBaseBuilder<T, TControl, TBuilder> | Current builder |