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

Hi, 

 

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:

https://www.syncfusion.com/feedback/29822/provide-support-for-critical-path-feature


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


Regards,

Divya.



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

Hi,

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.

Regards,

Ana-li




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


Regards,

Divya



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

Hi,


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 )?


Regards,

Ana-li



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?



Regards,

Divya



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

Hi,

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.


Regards,


Ana-li





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.



Regards,

Divya



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

Hi,

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.

     

What we want is to display the same critical path in the Gantt chart as it is in the diagram.  Is there a way to mark Tasks that are on critical path in the gantt chart?
We tried different ways of putting start date and end date  to the tasks and changing Slack value but we couldn't display the same tasks as critical as in the diagram.
2. If we have both: critical path and holidays in the gantt chart component at the same time, then critical path does not work ( is not shown) .  Do you have an example?
3.If the activity has duration of 1 day, does it start, for example on 01/01/2023 and end on the same day , or does it end on 01/02/2023? Or would the activity then have a duration 0? How the component works?

Thanks in advance,

Best regards,

Ana-li


RB Rajesh Babu Syncfusion Team April 14, 2023 02:08 PM UTC

Hi sir,


# Query 1:-  Is there a way to mark Tasks that are on a critical path in the Gantt chart?

Gantt charts highlight critical tasks by displaying them in a different color, refer to the attached link. Slack value working properly in Gantt chart and if any further query gives any example for slack value.

https://blazor.syncfusion.com/demos/gantt-chart/criticalpath?theme=fluent



# Query 2:- 

If a task is scheduled on a holiday or non-working day, it will be pushed to the next working day. This validation is performed internally by the Gantt chart.


# Query 3:- 

The Gantt default working time is 8 am to 5 pm, if set the start/end date time between the same date and duration is 0/1  finished on the same date,  It also suggests referring to the attached link for more information on working time ranges in Gantt charts 


https://blazor.syncfusion.com/documentation/gantt-chart/scheduling-tasks#working-time-range


Loader.
Up arrow icon