We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Critical path in Gantt chart for Blazor Server application



I have a question about Gantt Chart component.

Is there a functionality that indicates the critical path in the Gantt Chart in  Blazor Server application?

We found such functionality, but for ASP.NET CORE: https://help.syncfusion.com/aspnet-core/gantt/critical-feature

Can you send us an example for Blazor Server application if such functionality exists?

Thanks in advance. 

9 Replies

DA Divya Ayyachamy Syncfusion Team March 14, 2023 07:36 AM UTC

Hi Anali,

Thank you for reaching out to Syncfusion Support.

Currently, the critical path feature is not available in our Blazor Gantt chart. However, this feature will be included in our upcoming main release 2023 volume 1, which is scheduled for release on March 22, 2023.

To track the status of this feature, please use the feedback link provided below:


If you have any further queries or concerns, please do not hesitate to contact us. We are always here to help.



AN Ana-li replied to Divya Ayyachamy March 14, 2023 08:13 AM UTC


Thank you for your quick answer.  We will track the status of this feature.

I also have another question for the Blazor Gantt chart (not related to critical path).

Is there an option in the Gantt chart, where some of the holidays and non-working days can be just marked, but not  have influence on the duration of the tasks.

For example, if I have a task with starting date  01.03.2023  and duration of 10 days. The end date of the task will be 14.03.2023 as there are 4 days of weekend. The question is: Is there an option to mark lets say 04.03.2023 and 05.03.2023  as working days, so the end date of the task to be 10.03.2023?  I hope that I manage to explain you what we need.

Please send us an example if such functionality exists.

Thank you in advance.



DA Divya Ayyachamy Syncfusion Team March 15, 2023 06:28 AM UTC

Hi Ana-li,

Yes, you can make the weekend a working day by setting the IncludeWeekend property to true. Here is a code snippet to get you started.

UG documentation: https://blazor.syncfusion.com/documentation/gantt-chart/scheduling-tasks#weekend-or-non-working-days



AN Ana-li replied to Divya Ayyachamy March 20, 2023 07:56 AM UTC


Thank you for your answer. We will use this option for sure.

Can this option be used only on certain weekend (one weekend to be included as working, and others to be non working days).?

Also, is this option available for holidays (some holidays to be just marked, others to be non working )?



DA Divya Ayyachamy Syncfusion Team March 21, 2023 02:10 PM UTC

Hi Ana-li,

At the moment, Gantt chart does not support setting different weekends as working or non-working days. We have logged a feature request for "Provide support to set different dayworkingtime for each day".

Since we have already lined up some major features, we could not implement this support immediately. However, we will implement this feature and include it in any of our upcoming releases. Please cast your vote on this feature, as we prioritize features based on customer demand. You can provide your feedback on this feature using this link: https://www.syncfusion.com/feedback/19550/provide-support-to-set-different-dayworkingtime-for-each-days

In terms of holidays, our Gantt chart currently considers all holidays as non-working days. However, we would be happy to understand your specific scenario to see if there is any way we can help. Could you please provide us with more details on your use case?



AN Ana-li March 21, 2023 03:13 PM UTC


Thank you for your information. We hope that this feature will be implemented.

Regarding holidays, here is our need.

We are developing application for construction companies.  We have functionality of automatic creation of  Gantt chart  for some construction project.

1-st scenario: As you know construction works depending on weather conditions (or some other factors) sometimes can't be performed as planned, so on some days (marked as working) the task are not performed.

So we need need functionality to mark some working days as non-working 

2-nd scenario: In order to complete the project on time, Investors make decisions  to work on certain weekends or holidays.

So what we need is a functionality to set these certain weekends or holidays  as working days in the Gantt chart

3-rd scenario: Prediction of project finishing date. Sometimes the investors has specific demands, like finishing the tasks till certain date. So the contractor needs to play with the dates, weekends, holidays  and mark them as working  or non-working.

The main goal is that the tasks in the Gantt chart are presented with actual dates and duration as planned.

I hope that I explain you our needs.



SS Sarasilmiya Shahul Hameed Syncfusion Team March 23, 2023 09:40 AM UTC

Hi Ana-li,

Thank you for explaining your requirements in detail.

As per our previous update, you can achieve these requirements using this feature: https://www.syncfusion.com/feedback/19550/provide-support-to-set-different-dayworkingtime-for-each-days.

With this feature, you can set different working times for each day, mark a working day as a non-working day, and mark a holiday as a working day.

At this time, we can change a holiday to a working day and a working day to a holiday, but we cannot change a non-working day.



AN Ana-li April 13, 2023 01:31 PM UTC


We have few questions about critical path in Gantt chart (Blazor). We installed the new release, but we have difficulties displaying the critical path in the Gantt chart. Here are the questions:

  1. We calculate critical path with this algorithm, and based on that we have  a diagram shown on the picture.