# Chart in TimeBar with WeekInterval

TimeBar
Top achievements
Rank 1
Iron
Thilo asked on 14 Apr 2014, 05:12 PM
Hello !
I Want to synchronize a RadChart in a RadTimeBar with a WeekInterval.
If i Set the Windows Size i can synchronize the size with the Margin set to "-7,0,72,0" (see Picture 1).
If i Maximize the Windows it is not synchronized (see Picture 2).
Sourcecode is in TelerikTimeBarTest.png (Rename to zip).

What is the best way to synchronize the size ?

Thank for Help !

Thilo

## 1 Answer, 1 is accepted

0
Thilo
Top achievements
Rank 1
Iron
answered on 15 Apr 2014, 08:35 AM
OK, i solved it.

i must set the periodstart and periodend exactly the same as my Week Data.
For the year 2014 it is:
PeriodStart="30-Dec-2013 00:00:00 AM" PeriodEnd="28-Dec-2014 11:59:59 PM"
and the Margin is then Margin="-7,0,0,0"
Tags
TimeBar