Chart.DataBind Method

Definition

Data binds the Chart control to a data source.

public:
 void DataBind();
public void DataBind ();
member this.DataBind : unit -> unit
Public Sub DataBind ()

Remarks

This method will bind the Chart control to the specified data source.

In cases where a data source is set to a chart and no other data operations are required, the DataBind method does not have to be explicitly called. In these cases, the Chart itself will data bind to the data source prior to being rendered.

Applies to