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

Incorrect annotations position

2 Answers 92 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Ola
Top achievements
Rank 1
Ola asked on 29 Oct 2014, 10:40 AM
Hi,

I am trying to display current time with an annotation, but it gets missplaced when the vertical scrollbar is shown (see screenshots).

I think the reason for the issue is that the VirtualizingTimelinePanel for annotation occupies the whole radtimeline width while the VirtualizingTimelinePanel for items is shrink by the ScrollViewer.

I am using the Windows8 theme.

Is this a known issue? Is there a workaround for it?

Best,

Ola

2 Answers, 1 is accepted

Sort by
0
Tsvetie
Telerik team
answered on 31 Oct 2014, 05:22 PM
Hi Ola,

No, this is not a known bug. I logged it in our feedback portal - you can vote for the item and track its progress here. I have updated your Telerik points for bringing the problem to our attention.

For the time being, the only workaround that I can suggest is to create a custom template for the RadTimeline and in that template, find the TimelineAnnotationsPanel and set its Grid.ColumnSpan to 1.  For example:
<telerik:TimelineAnnotationsPanel x:Name="PART_TimelineAnnotationsPanel"
    Grid.Row="0"
    Grid.Column="0"
    Grid.ColumnSpan="1"
    Slider="{Binding ElementName=PART_Slider}">

You can find information on modifying ControlTemplates in our online documentation.

Please note that this workaround has one drawback - the strings of the interval groups will be clipped. I have attached a screenshot to demonstrate this (note how the December string is clipped in the upper right corner).

Regards,
Tsvetie
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Ola
Top achievements
Rank 1
answered on 13 Nov 2014, 10:26 PM
Thank you for the workaround. It works fine. I think I can live with the clipped interval groups (for now).
Tags
TimeLine
Asked by
Ola
Top achievements
Rank 1
Answers by
Tsvetie
Telerik team
Ola
Top achievements
Rank 1
Share this question
or