This example shows how to add a custom interactivity to a dashboard loaded in the WinForms Dashboard Viewer:
- A user can select records in the Grid dashboard item to filter data in the external Pivot Grid control.
- When a user clicks the chart series, the Data Grid control displays the corresponding underlying data.
To accomplish this, handle the following events:
- DashboardViewer.DashboardItemVisualInteractivity event allows you to implement a custom Master Filtering.
- DashboardViewer.DashboardItemSelectionChanged event allows you to filter data in the external PivotGridControl with the records selected in the Grid dashboard item.
- DashboardViewer.DashboardItemSelectionChanged event allows you to obtain underlying data when the user clicks the chart series.
This example operates with the MultiDimensionalData API. For more information on the MultiDimensionalData concept, refer to the following document: Obtain Underlying and Displayed Data.
- DashboardViewer.DashboardItemSelectionChanged
- DashboardViewer.DashboardItemVisualInteractivity
- Obtain Underlying and Displayed Data
- How to: Obtain a Dashboard Item's Client Data in the WinForms Viewer
- How to: Calculate and Display Totals for the Hidden Measure
- How to: Display the Total Value above each Pie Chart in the WinForms Viewer
- How to: Customize the Data Inspector Dialog
(you will be redirected to DevExpress.com to submit your response)