dotnetCHARTING Send comments on this topic.
DataGrid Property
See Also  Example
dotnetCHARTING Namespace > Chart Class : DataGrid Property


Gets or sets the control object or ID of a datagrid control that will be populated with the charted data.

Syntax

Visual Basic (Declaration) 
Public Property DataGrid As Object
Visual Basic (Usage)Copy Code
Dim instance As Chart
Dim value As Object
 
instance.DataGrid = value
 
value = instance.DataGrid
C# 
public object DataGrid {get; set;}

Example

C#Copy Code
Chart.DataGrid = myChartData;
    
Visual BasicCopy Code
Chart.DataGrid = myChartData

Remarks

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.

See Also

© 2008 All Rights Reserved.