Skip to content

The example uses the Dashboard Control's client-side API to obtain client data that corresponds to a particular visual element. When you click a card, dxChart displays the detailed chart and shows a variation of actual/target values over time.

License

Notifications You must be signed in to change notification settings

DevExpress-Examples/asp-net-core-dashboard-get-client-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BI Dashboard for ASP.NET Core - How to obtain a dashboard item's client data

The example uses the Dashboard Control's client-side API to obtain client data that corresponds to a particular visual element. When you click a card, dxChart displays the detailed chart and shows a variation of actual/target values over time.

The ViewerApiExtensionOptions.onItemClick event is handled to obtain client data and invoke the dxPopup component with the dxChart.

In the event handler, the e.getData method is called to obtain dashboard item's client data. The e.getAxisPoint method returns the axis point that corresponds to the clicked card while the ItemData.getSlice method returns the slice of client data by this axis point.

The ItemDataAxis.getPoints method is used to obtain axis points that belong to the "Sparkline" data axis. Corresponding actual/target values are obtained using the ItemData.getDeltaValue(deltaId) method.

Files to Review

Documentation

More Examples

About

The example uses the Dashboard Control's client-side API to obtain client data that corresponds to a particular visual element. When you click a card, dxChart displays the detailed chart and shows a variation of actual/target values over time.

Topics

Resources

License

Stars

Watchers

Forks