Data binds the Chart control to a data source.
Data binds control to the selected data source.
Visual Basic (Declaration) | |
---|---|
Public Sub DataBind() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void DataBind() |
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 is not required to be explicitly called. In these cases, the chart itself will data-bind to the data source prior to rendering.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family