Returns a DataTable of processed data.
Syntax
Visual Basic (Usage) |
Copy Code |
Dim instance As SeriesCollection
Dim tokenTemplate As String
Dim transposeData As Boolean
Dim value As DataTable
value = instance.GetProcessedDataTable(tokenTemplate, transposeData)
|
Parameters
- tokenTemplate
-
- transposeData
Return Value
Returns a data table of the processed data.
Returns a data table of the processed data.
Example
The follwoing sample, get a data table and displays with a datagrid. For complete sample see features/PostDataProcessing.aspx
C# |
Copy Code |
//This line should add in Page_Load method Chart.PostDataProcessing +=new PostDataProcessingEventHandler(OnPostDataProcessing);
//The method handling the PostDataProcessing event void OnPostDataProcessing(Object sender) { DataTable dt = Chart.SeriesCollection.GetProcessedDataTable("%YValue",true); chartdatagrid.DataSource = new DataView(dt); chartdatagrid.DataBind();
} |
Visual Basic |
Copy Code |
AddHandler Chart.PostDataProcessing, AddressOf OnPostDataProcessing
Sub OnPostDataProcessing(sender As [Object]) Dim dt As DataTable = Chart.SeriesCollection.GetProcessedDataTable("%YValue", True) chartdatagrid.DataSource = New DataView(dt) chartdatagrid.DataBind() End Sub
|
Remarks
See Also