Files to look at:
- Default.aspx (VB: Default.aspx)
- Default.aspx.cs (VB: Default.aspx.vb)
- ClientData.js (VB: ClientData.js)
The following example uses the ASPxDasard's client-side API to obtain client data that corresponds to a particular visual element.
The ASPxClientDasard.ItemClick 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 dasard item's client data. The e.GetAxisPoint
method returns the axis point corresponding to the clicked card while the ASPxClientDasardItemData.GetSlice method returns the slice of client data by this axis point.
The ASPxClientDasardItemDataAxis.GetPoints method is used to obtain axis points that belongs to the "Sparkline" data axis. Corresponding actual/target values are obtained using the ASPxClientDasardItemData.GetDeltaValue method.
When you click a card, the dxChart
displays the detailed chart and shows a variation of actual/target values over time.
- Dasard for Web Forms - How to get data from a clicked dasard item
- Dasard for Web Forms - How to obtain a dasard item's underlying data for a clicked visual element
- Dasard for Web Forms - How to obtain underlying data for the specified dasard item
- Dasard for ASP.NET Core - How to obtain a dasard item's client data
- Dasard for ASP.NET Core - How to obtain a dasard item's underlying data for a clicked visual element
- Dasard for ASP.NET Core - How to obtain underlying data for the specified dasard item