MSChart - Drilldown Charts: Part II


Part I article about MSChart drilldown uses GetCallbackEventReference. In Part II, another simple and easy way of doing is by assigning PostBackValue for Chart Points. We can assign any value as PostBackValue. On Chart Click event handler, we can retrieve this PostBackValue.

MVS used: 2008/2010

DB used: Northwind

Chart1:

image1.jpg

Chart1 displays the list of employees and their Order lists count.

Chart2:

image2.jpg

On click of Chart1 Series Point (using EmployeeID as PostBackValue to retrieve from DB), Chart2 displays with list of Products – Quantity details.

Also, some of Chart Area, Legend appearance settings also provided. Sample code attached for download, please comment about article.
 


Similar Articles