Hello,
is it possible to remove or replace the top timeline?
I only want the three others and do not need the first one
Thanks for any help
Hello Marvin,
Primary interval can only be modified. There is no way to remove it from the UltraGanttView as this is the default interval that Gantt displays in its chart area. If you want to change this interval at design time, you can refer to the video on this thread that demonstrates how it can be done.
Please let me know if you have any questions.
Hello Sahaja,
first of all, thanks for your fast reply.
But this is not a additional interval, I am only adding 2 additional intervals and edit the primary interval.
Any other Ideas?
It is possible to modify timeline shown in the chart area of UltraGanttView by modifying the AdditionalIntervals collection. When one or more members exist in the AdditionalIntervals collection, multiple date/time intervals are displayed from top to bottom in order of descending duration. To remove the top timeline you should remove it from the AdditionalIntervals collection. For example, you can write something like this to achieve it:
DateInterval ganttAddInterval1 = new DateInterval(1, DateIntervalUnits.Days);this.ultraGanttView1.TimelineSettings.AdditionalIntervals.Remove(ganttAddInterval1);
To read more about working with the AdditionalIntervals collection refer to this link.
Please let me know if I may be of further assistance.