Goran
Posts: 311
Joined: 8/31/2007
Status: offline
|
Hello John, Actually, there is no "Jump to" action for chart legends, but you still can filter the chart data using the custom legend's Href property (select the chart control and right click it to get its context menu -> Properties -> Advanced tab -> Select the legend in dropdown list above property grid ("Default(Legend)") -> CustomItems in property grid -> Click the small command button with 3 dots -> Add new custom legend item and set its Href property). You can do this programmatically as well using Dundas Chart for Reporting Services code editor (select the chart control and right click it to get its context menu -> View Code -> Select PostApplyData event from left dropdown list above the code editor. Another way how you can set Href property of existing legend items (you don't need to add custom legend items in this case) is to use the same Dundas Chart for Reporting Services code editor, but different event - CustomizeLegend. Here's the code snippet how you can set Href property of first existing item in chart legend: [C#] if(e.LegendName == "Default") { e.LegendItems[0].Href = "http://www.ibm.com"; } You can try to combine the legend item's Href property with report parameters. I hope this can help you. Sincerely, Goran Tesic Dundas Technical Support http://support.dundas.com +1-416-467-9100 x132
|