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

displaying tiny items without specific dates

1 Answer 47 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
Cliff
Top achievements
Rank 1
Cliff asked on 12 Mar 2019, 03:45 PM

Hi all,

I have C# class called EventHandler that looks like this. StartTime and EndTime both represent the number of seconds since the start of its "parent", which is basically just a list of Events.

 

public class EventHandler
{
    public Event Event;
 
    public float StartTime => Event.StartTime;
    public float EndTime => Event.EndTime;
}

 

I'm trying to use RadGanttView to display the parent, (i.e. a List<Event>), but since StartTime and EndTime are both relative and don't have specific dates, I'm not sure where to begin. Values are both also typically below 5 seconds. Can anyone point me in the right direction?

Thanks in advance!

1 Answer, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 13 Mar 2019, 11:52 AM
Hello, Cliff,

RadGanttView offers a number of built-in timeline views which allow you to show the timeline in different scales. Indeed, 5 seconds duration is quite a short duration. For this case, it is suitable to create a custom timeline. Thus, you can achieve the custom requirement that you have. A sample approach is demonstrated in the following help article: https://docs.telerik.com/devtools/winforms/controls/ganttview/timeline/custom-timeline

An alternative solution is to use RadScheduler which also displays a collection of events. It offers different view which can be displayed in different time scales for the timeline view as well:
https://docs.telerik.com/devtools/winforms/controls/scheduler/overview
https://docs.telerik.com/devtools/winforms/controls/scheduler/views/timeline-view

Feel free to use this approach which suits your requirement best.

I hope this information helps. If you need any further assistance please don't hesitate to contact me. 

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GanttView
Asked by
Cliff
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Share this question
or