Hello
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.
I assumed that I could use the below code, to fill in that parameter:
The SelectParameter[0] comes from the dropdown list.
What I get is text lie Item 1, Item 2, and so on. Is the no way I can get at the text that the chart has automatically put in from the initial data source?
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.
I assumed that I could use the below code, to fill in that parameter:
protected void MyRadChart_Click(object sender, Telerik.Charting.ChartClickEventArgs args)
{
if (args.SeriesItem != null)
{
staffCountByGrade.SelectParameters[1].DefaultValue = args.SeriesItem.Name;
MyRadChart.DataSourceID = "staffCountByGrade";
}
}
What I get is text lie Item 1, Item 2, and so on. Is the no way I can get at the text that the chart has automatically put in from the initial data source?