Skip to content

Commit e9cfdea

Browse files
982155: Part 3 - Check code snippet and make preview sample in blazor platform
1 parent 4aa5655 commit e9cfdea

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

blazor/gantt-chart/labels.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,3 @@ The Gantt Chart component maps any data source fields to [GanttLabelSettings](ht
8080
{% endtabs %}
8181

8282
{% previewsample "https://blazorplayground.syncfusion.com/embed/LtLIDkVIpzpsrlhR?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
83-
84-
![Blazor Gantt Chart with Task Label](images/blazor-gantt-chart-task-label.png)

blazor/gantt-chart/style-and-appearance.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ documentation: ug
99

1010
# Style and Appearance in Blazor Gantt Chart Component
1111

12-
To modify the Gantt Chart appearance, you need to override the default CSS of Gantt Chart. Find the list of CSS classes and their corresponding section in Gantt Chart. Also, you have an option to create your own custom theme for all the JavaScript controls using our [Theme Studio](https://blazor.syncfusion.com/documentation/appearance/theme-studio/).
12+
To modify the Gantt Chart appearance, you need to override the default CSS of Gantt Chart. Find the list of CSS classes and their corresponding section in Gantt Chart. Also, you have an option to create your own custom theme for all the JavaScript controls using our [Theme Studio](https://blazor.syncfusion.com/documentation/appearance/theme-studio).
1313

1414
|Section | CSS Class | Purpose of Class |
1515
|-----|-----|-----|

blazor/gantt-chart/task-dependencies.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -362,6 +362,9 @@ The Gantt Chart includes styling options that enable you to customize the appear
362362

363363
Here is a code snippet that shows how to modify the color of dependency lines:
364364

365+
{% tabs %}
366+
{% highlight razor tabtitle="Index.razor" %}
367+
365368
@using Syncfusion.Blazor.Gantt
366369
<SfGantt DataSource="@TaskCollection" ConnectorLineBackground="#ff0000" ConnectorLineWidth="2" Height="450px" Width="750px">
367370
<GanttTaskFields Id="TaskID"

blazor/gantt-chart/timezone.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,8 +138,6 @@ The `Timezone` property can be assigned a standard IANA timezone string, such as
138138

139139
{% previewsample "https://blazorplayground.syncfusion.com/embed/BDrIZuLqprprdGQl?appbar=false&editor=false&result=true&errorlist=false&theme=bootstrap5" %}
140140

141-
![Timezone in Blazor Gantt Chart](./images/gantt-timezone.gif)
142-
143141
### CRUD operations with timezone
144142

145143
CRUD operations in the Blazor Gantt Chart respect the configured `Timezone` property, ensuring consistent date and time handling. When adding a task, the start date is calculated based on the minimum start date in the dataset and converted to the specified timezone. Editing or deleting tasks processes `StartDate` and `EndDate` values in the configured timezone, maintaining consistency in visualization, data storage, and export operations.

0 commit comments

Comments
 (0)