[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.ChartAxisBuilder-1.Bind

Bind Method

Bind(string)

Bind the axis with a special data source to customize the labels.

Declaration
public ChartAxisBuilder<T> Bind(string readActionUrl)
Parameters
Type Name Description
string readActionUrl

The url of the action which is used for reading data

Returns
Type Description
ChartAxisBuilder<T>

Current builder

Bind(string, string)

Bind the axis with a special data source to customize the labels.

Declaration
public ChartAxisBuilder<T> Bind(string bindingFields, string readActionUrl)
Parameters
Type Name Description
string bindingFields

The field for binding with the data source.

string readActionUrl

The url of the action which is used for reading data

Returns
Type Description
ChartAxisBuilder<T>

Current builder

Bind(IEnumerable<T>)

Bind the axis with a special data source to customize the labels.

Declaration
public ChartAxisBuilder<T> Bind(IEnumerable<T> sourceCollection)
Parameters
Type Name Description
IEnumerable<T> sourceCollection

The data source

Returns
Type Description
ChartAxisBuilder<T>

Current builder

Bind(string, IEnumerable<T>)

Bind the axis with a special data source to customize the labels.

Declaration
public ChartAxisBuilder<T> Bind(string bindingFields, IEnumerable<T> sourceCollection)
Parameters
Type Name Description
string bindingFields

The field for binding with the data source.

IEnumerable<T> sourceCollection

The data source

Returns
Type Description
ChartAxisBuilder<T>

Current builder