Hi,
i use LineSeries to display temperature history over time. Because of big data, I would like to build up a DrillDown ChartView where the first view should be categorized by "MMM yyyy" and when I click on each data point I will drill down to "dd/MM/yyyy". However it seems to be that the radChartView1_Drill event wasn't fired when I click on data point.
My question is: How can I make a Drilldown effect for LineSeries Chartview?
I attach below my first view categorized by "MMM yyy"
My code snippet is
i use LineSeries to display temperature history over time. Because of big data, I would like to build up a DrillDown ChartView where the first view should be categorized by "MMM yyyy" and when I click on each data point I will drill down to "dd/MM/yyyy". However it seems to be that the radChartView1_Drill event wasn't fired when I click on data point.
My question is: How can I make a Drilldown effect for LineSeries Chartview?
I attach below my first view categorized by "MMM yyy"
My code snippet is
private DrillDownController drillDownController = new DrillDownController();private DateTime lastSelectedMonth;private void InitializeChart(){ radChartView1.ShowTitle = true; radChartView1.ShowLegend = true; radChartView1.ShowSmartLabels = true; radChartView1.Controllers.Add(drillDownController); radChartView1.Drill += new DrillEventHandler(radChartView1_Drill); radChartView1.ShowDrillNavigation = true; radChartView1.Views.AddNew();}private void radChartView1_Drill(object sender, DrillEventArgs e){ switch (e.Level) { case 0: GroupByMonthYear(e.View); break; case 1: if (e.SelectedPoint != null) lastSelectedMonth = Convert.ToDateTime((e.SelectedPoint.DataItem as System.Data.DataRowView).Row.ItemArray[0]); GroupByDay(e.View, lastSelectedMonth); break; }}