I have a stacked bar chart that is bound to a SQLDataSource. The dataset has 3 columns: Project, StartDate, Hours. StartDate is on the x-axis, hours is on the y-axis, and the data is grouped by project. When I added a click event for the chart to the code behind, each stacked bar piece became clickable. In the click event code, I want to be able to access the project name, date, and hours for the item that was clicked. So far I was able to figure out how to get project name using args.Series.Name and hours using args.seriesItem.yvalue. However, I can't figure out a way to get the date of the clicked item.
I'm new to the telerik controls, so it's possible I'm not binding the chart properly. When I bind the chart to the datasource, I set
RadChart1.DataGroupColumn = "Project"
RadChart1.PlotArea.XAxis.DataLabelsColumn = "StartDate"