Example of Holidays in Blazor Gantt Chart Component

Gantt Chart / Scheduling Concepts / Holidays

This sample visualizes how to define the holidays in-between the project timeline.

Good Friday
Easter Sunday
Memorial Day
Independence Day

In this example, holidays are displayed with a vertical bar with the desired text using the label property of Gantt GanttHoliday. You can also mention the continuous holidays by specifying the From and To range. More than one holiday can be displayed in the project.

You can even assign the CssClass to each holiday to change the default color of the label and background.

More information about Holidays can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE