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

How to custom RadTimeBar.Intervals?

2 Answers 48 Views
TimeBar
This is a migrated thread and some comments may be shown as answers.
Brew Hutch
Top achievements
Rank 1
Brew Hutch asked on 12 Apr 2013, 05:45 PM
Hi,
I want to have the custom intervals as attached. Basically, this is a half-year interval. it will show 2008-1, 2008-2, 2009-1, 2009-2, 2010-1, and so on.

Please advise.

Thanks,
Brew

2 Answers, 1 is accepted

Sort by
0
Brew Hutch
Top achievements
Rank 1
answered on 19 Apr 2013, 05:24 PM
Is there a way to do so? Please advise.
0
Tsvetie
Telerik team
answered on 24 Apr 2013, 12:30 PM
Hi Brew,

You can use the IntervalSpans property of the MonthInterval to define a custom interval of 6 months. You can customize the labels of this custom interval using the FormatterProvider of the interval instance. For additional information, please refer to our online documentation:

However, you cannot have the MonthInterval type both in the periods and group periods rows.

Kind regards,
Tsvetie
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
TimeBar
Asked by
Brew Hutch
Top achievements
Rank 1
Answers by
Brew Hutch
Top achievements
Rank 1
Tsvetie
Telerik team
Share this question
or