Example of Working Time Range in ASP.NET MVC Gantt Chart Control

This sample visualizes the support for changing the working hours in a day. The selected start and end hours from the property panel will be applied to each task available in the project.

DEMO
SOURCE
Work Start Time
Work End Time
Working Days
Work Start Time
Work End Time

In this example, you can see how to render a Gantt Chart with the provided data source and customizable working hours in a day. You can split the working hours in a day to one or more range. So, You can also provide the DayWorkingTime opens in a new tab property value as array of object collection. Gantt Chart also supports different DurationUnit opens in a new tab values as follows:

  • Day
  • Hour
  • Minute
  • You can also set different working time range for different working days using WeekWorkingTime opens in a new tab property. The WeekWorkingTime property enables you to specify different working hours for each day of the week in your Gantt Chart. By configuring this property, you can ensure that tasks are only scheduled during defined working periods, avoiding non-working hours.

    Given duration in dataSource will be considered with this unit. In this demo, the Hour unit is used to render taskbars in day hour timeline mode. Gantt Chart supports only 24hours format as of now. The working hours will differ between organizations. This feature will be helpful to keep track of each task and resource task status based on the working time of company.

    Transform your ASP.NET MVC web apps today with Syncfusion® ASP.NET MVC components
    100+ high-performance and responsive UI components
    Dedicated support
    Hassle-free licensing
    TRY IT FOR FREE
    opens in a new tab