Files to look at:
WinViewer - How to obtain a dashboard item's underlying data for a clicked visual element
The following example demonstrates how to obtain underlying data corresponding to a particular visual element using the DashboardViewer's API.
In this example, the DashboardItemDoubleClick event is handled to obtain underlying data and display this data in the grid.
In the event handler, the GetUnderlyingData method is called to obtain records from the dashboard's data source.