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

Is to possible to change the scale of a timeline?

2 Answers 146 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Edward
Top achievements
Rank 1
Edward asked on 07 Mar 2012, 02:25 AM
I am trying to make a interactive gantt chart/scheduler and I want users to be able to view the chart at different levels.
Some customers have projects that are two hours long, while others have projects that are two months long.
I want to be able to have the same Timeline but view it with these different columns of time:
1 day per column, 7 Days
1 hour per column, 24 hours
15mins, however many we can fit on the screen at once.
I have days working well, but can quite workout how you would display just the hours in a single day.
Thanks in advance,
Edward

2 Answers, 1 is accepted

Sort by
0
Edward
Top achievements
Rank 1
answered on 07 Mar 2012, 03:31 AM
I've managed to shrink the SlotDuration based on a Drop Down list as in your example.
When I am only showing one day can I change the HeaderDate to only show a single date, rather than a range which goes from the same day to the same day?

eg:

Mon 5 Mar, 2012

Instead of:

Mon 5 Mar, 2012 - Mon 5 Mar, 2012

Lastly is there any way I can change the HeaderDate to make the first letter of each Day/Month Uppercase?
0
Accepted
Plamen
Telerik team
answered on 08 Mar 2012, 05:08 PM
Hi Edward,

 
You can set the HeaderDateFormat="ddd-d-MMM" and refer to this KB article where is shown how you can get and modify this value depending on the view that is selected.

Hope this will be helpful.

All the best,

Plamen Zdravkov
the Telerik team
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 their blog feed now.
Tags
Scheduler
Asked by
Edward
Top achievements
Rank 1
Answers by
Edward
Top achievements
Rank 1
Plamen
Telerik team
Share this question
or