Chart.DataBind 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.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.