ChartWebPart.BindData Method
Binds the Chart Web Part to all data sources.
Namespace: Microsoft.Office.Server.WebControls
Assembly: Microsoft.Office.Server.Chart (in Microsoft.Office.Server.Chart.dll)
Syntax
'Declaration
Public Sub BindData
'Usage
Dim instance As ChartWebPart
instance.BindData()
public void BindData()
Remarks
This method binds the Chart Web Part to a test data source if the Chart Web Part is not bound to any data source; otherwise, it checks all of the Chart Web Part’s series data bindings, removes any that are not referenced, and then rebinds the data to the Chart Web Part.