This is a migrated thread and some comments may be shown as answers.

DateTime Interval Selection (Auto)

1 Answer 46 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Tim
Top achievements
Rank 1
Tim asked on 09 Mar 2012, 01:13 PM
Hello.

I am using the RadTimeBar to select a range of dates. For these dates I have data I want to display in a BarChart. If I select only one day, the Chart should use the hour component of that day, if I select one year the Chart should use the month component, ... So:
Year -> Display Months
Months -> Display Weeks
Weeks -> Display Days
Days -> Display Hours.

How is something like that achieved?
Thanks really a lot for any input!!!

All the best,
Tim.

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 13 Mar 2012, 12:53 PM
Hi Tim,

Could you take a look at our online demo example here, as it is similar to the scenario you've described. The example shows how to create a dashboard and change the displayed data according to the selected period.

I have also attached a sample project demonstrating similar behavior.

Hope this helps.

Kind regards,
Peshito
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Chart
Asked by
Tim
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or