Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to obtain a dashboard item's client data in the WinForms Viewer

$
0
0

The following example demonstrates how to get client data corresponding to a particular visual element using DashboardViewer's API.
In this example, the DashboardViewer.DashboardItemClick event is handled to obtain client data for the Card dashboard item and display this data in a Chart control. We obtain axis points placed on the "Sparkline" axis for the clicked card, determine corresponding actual/target values, and save these values to a data table. This table is used as a data source for the Chart control. 
Note that you can apply master filtering by year in the Pie dashboard item. The chart will display client data according to the selected year.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>