Drill through in bar-chart please help. RRS feed

  • Question

  • Hi,

    I have a bar chart, where the y-axix is showing the count (N) and the x-axis shows the countries.

    When the report runs, there are 3 countries (bars) showing A,B and C.

    I would like to be able to click on country A in the bar chart and this will “drill-through” and then displays the states of country A in the same bar chart.


    I have tried edit chart-value, jump to the same report but get stuck there.  


    Please help, Nijojo.

    Monday, April 20, 2009 6:33 AM

All replies

  • You will have to implement the ReportDrillThroughEventHandler.

    Something like this:

    Public Sub ReportDrillTshroughEventHandler(ByVal sender as Object, ByVal e as DrillthroughEventArg)
    DIm localReport as LocalReport = DirectCast(e.Report, LocalReport)

    //create and add data source for the report

    Also make sure to add (onDrillthrough="ReportDrillTshroughEventHandler") in your report viewer.

    Hope it helps!

    Wednesday, April 22, 2009 4:38 PM