Hi ,
We are using the Rad Controls for Silver light Q1 2011 SP1 (Version 11.1.419.0) in our application.
In RADTimeBar , if we provide more years(30-40yrs eg.1980-2020) and setting the Visible period to certain Year (in design or runtime eg 1-Jan-2011 to 31-Dec-2011).
It is displaying extra year in the Display. (See the attachment pic).
Is it because of older version we are using?
Code :
<
UserControl.DataContext>
<example:ExampleViewModel StartDate="1-Jan-1980" EndDate="1-Jan-2020" />
</UserControl.DataContext>
<
Grid x:Name="LayoutRoot" Background="White">
<telerik:RadTimeBar x:Name="NotesHistoryRtb" Height="75" VerticalAlignment="Top" PeriodStart="1-Jan-1980" PeriodEnd="1-Jan-2020"
VisiblePeriodStart="1-Jan-2011" VisiblePeriodEnd="31-Dec-2011"
SelectionStart="1-Nov-2011" SelectionEnd="30-Nov-2011" BorderThickness="1,1,1,0" MaxSelectionRange="5" MinSelectionRange="1" Style="{StaticResource RadTimeBarStyle1}">
<telerik:RadTimeBar.Intervals>
<telerik:DecadeInterval/>
<telerik:YearInterval/>
<telerik:MonthInterval/>
<telerik:WeekInterval/>
<telerik:DayInterval/>
</telerik:RadTimeBar.Intervals>
<telerik:RadColumnSparkline Margin="0,3" ItemsSource="{Binding ColumnData}" XValuePath="Date" YValuePath="Value" ColumnWidthPercent=".8" Foreground="Red" />
</telerik:RadTimeBar>
</Grid>