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

Short duration events not shown when timeline is big

2 Answers 17 Views
TimeLine
This is a migrated thread and some comments may be shown as answers.
Kato
Top achievements
Rank 1
Kato asked on 02 Mar 2016, 09:22 AM

Hi,

Say I have a timeline with a duration of 180hours. If I add events with duration of for instance 1 minute and zoom the timeline all the way out, the events become completely hidden. Zooming in on the area of the event will eventually make the event appear again.

Is there a way to set a minimum event width - at the very least a dot or a small vertical mark - to visually indicate that there exists an event here? 

I am using custom templates for the events. 

Thanks,

Kato

2 Answers, 1 is accepted

Sort by
0
Accepted
Petar Marchev
Telerik team
answered on 03 Mar 2016, 02:25 PM
Hello Kato,

You can use the MinWidth property of the TimelineItemControl for this purpose. I have attached a project where I demonstrate this. In order to get the timeline to respect the min-width for the item, you need to add a setter for the MinWidth property. In order to plug in the custom template you have, you can add a setter for the Template property of the timeline item control.

Let us know how it goes.

Regards,
Petar Marchev
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Kato
Top achievements
Rank 1
answered on 04 Mar 2016, 10:58 AM

Hi Petar, 

thanks, that was exactly what I needed :) 

Regards

Kato

Tags
TimeLine
Asked by
Kato
Top achievements
Rank 1
Answers by
Petar Marchev
Telerik team
Kato
Top achievements
Rank 1
Share this question
or