| Visual Basic (Declaration) | |
|---|---|
| Public Property DataGrid As Object | |
| Visual Basic (Usage) |  Copy Code | 
|---|---|
|  | |
| C# | |
|---|---|
| public object DataGrid {get; set;} | |
| C# |  Copy Code | 
|---|---|
| Chart.DataGrid = myChartData; | |
| Visual Basic |  Copy Code | 
|---|---|
| Chart.DataGrid = myChartData | |
This property accepts a control ID for a datagrid. If set, the data represented in the chart is populated in the datagrid of the same name. You must also define a datagrid control with an appropriately named ID within the same script. This property is useful when displaying tabular chart data along with your charts.
 
  
  
  
 