Hi, I want to have RadTimeBar with different kind of content. So I have the following xaml (part of the user control):
The content is set as follows in the code behind:
The SparkLine control, which is set as content of time line is:
The view model of the sparkline is as follows
Add some test data are inserted this way:
The TimeSpan of is set to One hour , wo when grouped the passed data to SetData() method create 17 SparklineData objects with moments - 17 hours which are added to the ItemsSource of the SparkLine control. However the columns drawn seems to be with completely different timestamps as you can see on the attached screen shot - the 17 columns spread for several days each...
Please tell me what am I missing? I guess it is some king syncronisation between the sparkline and the timebar, but no such is needed in some of the samples I can see in the telerik demos...
Thank you in advance for your help!