Hi Sérgio,
Greetings from Syncfusion.
We have analyzed your requirement and we would like to inform you that GanttControl has support to specify the schedule range, by using StartTime and EndTime properties. You can specify the schedule range as per the below code snippet.
[XAML]:
<!-- Gantt Control Information -->
<gantt:GanttControl x:Name="Gantt"
ScheduleType="YearWithMonths"
StartTime="3/6/2019"
EndTime="10/8/2019"
ItemsSource="{Binding TaskDetails}"
VisualStyle="Metro">
</gantt:GanttControl> |
Also, GanttControl have support to specify the schedule range padding. By using ScheduleRangePadding property you can specify the padding for gantt chart. Please find the code snippet as below
[XAML]:
<!-- Gantt Control Information -->
<gantt:GanttControl x:Name="Gantt"
ScheduleType="YearWithMonths"
ScheduleRangePadding="1"
ItemsSource="{Binding TaskDetails}"
VisualStyle="Metro">
</gantt:GanttControl> |
NOTE: If bottom schedule unit is Month, 1 month added front and back of the schedule.
Please find the sample from the below link.
Please let us know if you have any queries.
Regards,
Vignesh.