Task Scheduling and Markers in Blazor Gantt Chart
Live Chat Icon For mobile
Live Chat Icon
Popular Categories.NET  (174).NET Core  (29).NET MAUI  (207)Angular  (109)ASP.NET  (51)ASP.NET Core  (82)ASP.NET MVC  (89)Azure  (41)Black Friday Deal  (1)Blazor  (217)BoldSign  (14)DocIO  (24)Essential JS 2  (107)Essential Studio  (200)File Formats  (66)Flutter  (133)JavaScript  (221)Microsoft  (119)PDF  (81)Python  (1)React  (100)Streamlit  (1)Succinctly series  (131)Syncfusion  (917)TypeScript  (33)Uno Platform  (3)UWP  (4)Vue  (45)Webinar  (51)Windows Forms  (61)WinUI  (68)WPF  (159)Xamarin  (161)XlsIO  (36)Other CategoriesBarcode  (5)BI  (29)Bold BI  (8)Bold Reports  (2)Build conference  (8)Business intelligence  (55)Button  (4)C#  (148)Chart  (131)Cloud  (15)Company  (443)Dashboard  (8)Data Science  (3)Data Validation  (8)DataGrid  (63)Development  (629)Doc  (8)DockingManager  (1)eBook  (99)Enterprise  (22)Entity Framework  (5)Essential Tools  (14)Excel  (40)Extensions  (22)File Manager  (7)Gantt  (18)Gauge  (12)Git  (5)Grid  (31)HTML  (13)Installer  (2)Knockout  (2)Language  (1)LINQPad  (1)Linux  (2)M-Commerce  (1)Metro Studio  (11)Mobile  (507)Mobile MVC  (9)OLAP server  (1)Open source  (1)Orubase  (12)Partners  (21)PDF viewer  (43)Performance  (12)PHP  (2)PivotGrid  (4)Predictive Analytics  (6)Report Server  (3)Reporting  (10)Reporting / Back Office  (11)Rich Text Editor  (12)Road Map  (12)Scheduler  (52)Security  (3)SfDataGrid  (9)Silverlight  (21)Sneak Peek  (31)Solution Services  (4)Spreadsheet  (11)SQL  (10)Stock Chart  (1)Surface  (4)Tablets  (5)Theme  (12)Tips and Tricks  (112)UI  (387)Uncategorized  (68)Unix  (2)User interface  (68)Visual State Manager  (2)Visual Studio  (31)Visual Studio Code  (19)Web  (593)What's new  (332)Windows 8  (19)Windows App  (2)Windows Phone  (15)Windows Phone 7  (9)WinRT  (26)
Task Scheduling and Markers in Blazor Gantt Chart

Task Scheduling and Markers in Blazor Gantt Chart

The Syncfusion Blazor Gantt Chart is a project management tool that provides a Microsoft Project-like interface for scheduling and managing projects.

Once computers introduced new ways of working, project managers found they could save time creating and updating their Gantt charts. Gantt charts help us to automate this process to support more advanced requirements, like creating task dependencies, adding milestones, or identifying the critical path of a project plan.

In this blog, I’ll talk about the task scheduling and marker features of Syncfusion’s Blazor Gantt Chart.

Task Scheduling

What is scheduling?

Gantt charts show what work is scheduled on a specific day. They also allow you to view a project’s start and end dates along with the progress made. Apart from individual task progress, you can also look at a task’s contribution to the completion of a parent task.

Gantt Chart Displaying Scheduled Tasks and Their Progress
Gantt Chart Displaying Scheduled Tasks and Their Progress

How does scheduling tasks help project planning?

Scheduling tasks is key to forecasting the completion of a project and enhancing communication with a team. Using a Gantt chart is like putting a bridge between your initial project plan and its execution. Gantt charts allow you to set accurate deadlines.

The Gantt Chart control provides different ways to schedule a task to meet any requirement:

Auto-scheduling mode

Syncfusion’s Blazor Gantt Chart is more convenient to handle and add information to. With auto mode, tasks in the Gantt Chart are validated for their start and end date values. These validations are based on child task duration and data value mismatch.

Auto-scheduling mode decreases the time spent planning tasks. Let’s see some examples that clearly explain this mode.

Example 1

new TaskData() {
    TaskId = 5,
    TaskName = "Project estimation",
    StartDate = new DateTime(2019, 03, 29),
    EndDate = new DateTime(2019, 04, 2),
    Duration="4"
}
Auto-scheduling in Blazor Gantt Chart
Auto-scheduling in Blazor Gantt Chart

Here the EndDate value in dataSource is on 2 April 2019, yet the taskbar is rendered up to 3 April 2019 since the duration is only four days. Also, considering Saturday and Sunday as non-working days, the end date is auto-validated as 3 April 2019.

Example 2

new TaskData() {
    TaskId = 1,
    TaskName = "Project initiation",
    StartDate = new DateTime(2019, 03, 28),
    EndDate = new DateTime(2019, 07, 28),  // This is end of parent record.
    Duration="4"
},
new TaskData() {
    TaskId = 2,
    TaskName = "Identify Site location",
    StartDate = new DateTime(2019, 03, 29),
    Progress = 30,
    ParentId = 1,
    Duration="2" // Child record duration.
 },
 new TaskData() {
     TaskId = 3,
     TaskName = "Perform soil test",
     StartDate = new DateTime(2019, 03, 29),
     ParentId = 1,
     Duration="4" // Child record duration
 },
Auto-scheduling Parent-Child Tasks in Blazor Gantt Chart
Auto-scheduling Parent-Child Tasks in Blazor Gantt Chart

In this example, the end date value of the parent record is 28 July 2019. Yet the parent row’s taskbar is rendered only until 3 April 2019. This is because parent row duration is auto-validated, considering its child-record durations. Since the maximum end date of the child record is 3 April 2019, the end date of the parent record is auto-validated to 3 April 2019.

Manual scheduling mode

The Gantt chart provides an option to auto-validate tasks to optimize task scheduling. We can schedule task dates as planned by the project managers by skipping the optimizations or validations. To do so, we can use the manual mode.

Let’s see an example.

new TaskData() {
     TaskId = 1,
     TaskName = "Project initiation",
     StartDate = new DateTime(2019, 03, 28),
     Duration="4"
},

The parent record’s start and end dates are 29 March 2019 and 31 March 2019, respectively.

Manual Scheduling in Blazor Gantt Chart
Manual Scheduling in Blazor Gantt Chart

The baseline taskbar, drawn in gray (where the red arrow points), is rendered with values found in DataSource without any validation. Though in manual mode, an auto-validated taskbar will also be rendered below the manually scheduled baseline taskbar.

The previous image shows that the manually scheduled baseline taskbar does not consider weekends, holidays, and child tasks.

Custom

Custom mode is a combination of both auto and manual modes. You can specify which records need to be auto-validated and which ones need to be manually scheduled.

Unscheduled tasks

We may have some uncertain tasks, such as not having a start or end date or not having both date values, which are unscheduled tasks. We can represent these unscheduled tasks by partially rendering the taskbar in the Gantt Chart.

Unscheduled Task in Blazor Gantt Chart
Unscheduled Task in Blazor Gantt Chart

In the previous image:

  • The first record has no start and end date; it has only a duration value.
  • The second record has only the start date.
  • The third record has only an end date.
  • The fourth record is a scheduled task.
  • The fifth record has no start or end date. And since the duration value is 0, it is marked as a milestone.

Baseline

To get a better view of a project’s deviation, a baseline works well. It shows the deviation between the planned and actual dates of a project. This feature is beneficial when you need to react quickly to project deviations. We should provide the deviation values along with DataSource to the Gantt control, and the Gantt chart will provide a UI representation of the deviations as taskbars.

Baseline in Blazor Gantt Chart
Baseline in Blazor Gantt Chart

Markers

Markers are indicators in the Gantt chart timeline highlighting a task or a specific date.

Markers in Blazor Gantt Chart
Markers in Blazor Gantt Chart

In the previous image, Research phase is a marker that denotes the product analysis that needs to be completed within that timeline.

Why are markers used?

In a large project or resource planning chart, markers highlight key events, deadlines, or reference points.

There are different types of markers to choose from based on the application scenario.

Event markers

A vertical line drawn on a particular timeline in a Gantt chart highlights the entire tasks in a project.

Event Marker in Blazor Gantt Chart
Event Marker in Blazor Gantt Chart

Data markers

Data markers display information in addition to a regular taskbar. We can use them to display a date or any other value.

Data Markers in Blazor Gantt Chart
Data Markers in Blazor Gantt Chart

Holidays

Different localities have different non-working days, and you can map the non-working days on a project timeline in a Gantt chart. This is helpful for task scheduling for working days.

Mapping Holidays in Blazor Gantt Chart
Mapping Holidays in Blazor Gantt Chart

You can also customize weekend holidays in the timeline.

Resources

For more information, refer to the GitHub project called Task Scheduling and Markers in the Blazor Gantt Chart component.

Syncfusion Blazor components can be transformed into stunning and efficient web apps.

Conclusion

Thank you for reading this blog, where I addressed the Gantt chart’s task scheduling and marker features. For more details, refer to the Blazor Gantt Chart documentation. You can also use the sample uploaded here for better reference.

You can download our free trial if you want to try this Syncfusion component.

Contact us through our support forumsupport portal, or feedback portal. We are always happy to assist you!

Related blogs

 

Tags:

Share this post:

Popular Now

Be the first to get updates

Subscribe RSS feed

Be the first to get updates

Subscribe RSS feed