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

Ganttbar title/text position and alignment

1 Answer 43 Views
GanttView
This is a migrated thread and some comments may be shown as answers.
robert
Top achievements
Rank 1
robert asked on 17 Jul 2014, 07:49 AM
Hello, is there a possibility to place a custom text defined in EventContainerTemplate
outside from gantbar i.e. startdate and enddate at upper left or upper right corner? 

Greetings, Robert

1 Answer, 1 is accepted

Sort by
0
Polya
Telerik team
answered on 18 Jul 2014, 02:45 PM
Hi Robert,

I suggest creating custom containers that include the necessary information ( start, end dates ) in a TextBlock( for example ) and add these containers before and after each GanttTask EventContainer.
In this help article you can find code snippets and information on how to create and include custom containers in the Timeruler part of the RadGanttView. Also we have an example that demonstrates this approach - "GanttView Deadline". The examples are available for download from this link - http://demos.telerik.com/wpf/.
Hopefully this helps.

Regards,
Polya
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
GanttView
Asked by
robert
Top achievements
Rank 1
Answers by
Polya
Telerik team
Share this question
or