Passing a Parameter when drilling down a Bar Chart

Tom

I work for a UN organisation, where I am trying to create a dashboard, where a manager can drill into details about staff based on the kind of salary system they are on.

I have attached the chart I have created, for reference.

This chart I populate with a data source created declaratively in the .aspx file. I the chart in crated with a group by base in the salary system.

This creates the chart as is seen in the attachment. it automatically puts in the text codes for the salary system, for each column. cool functionality BTW, thank you! Now, I would like to create the drilldown, so that if a user clicks a column, then he/she gets details information about the distribution, of what is called grades, within each salary system.

For that I have created a second data source, with the same Control parameter that is used for the initial chart, this is a country, selected from a dropdown list, and a additional parameter, that I would like to be the text that is located below each of the columns.

Rosko

In the same event before you set the DataSourceID property you need to set MyRadChart.PlotArea.XAxis.DataLabelsColumn property with the name of the property in your business object in the new data source. You can check an online demo with source included regarding this scenario.

Regards,
Rosko
Telerik

If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks or appropriate markings.