From 9fa0656fe54aa40992e0e1f16b502982993f0a5d Mon Sep 17 00:00:00 2001 From: Vinitha Balasubramanian Date: Thu, 11 Dec 2025 19:39:52 +0530 Subject: [PATCH 1/5] 998180: Included Gantt Chart with AI user guide --- blazor-toc.html | 5 + .../gantt-chart/resource-allocation.md | 627 ++++++++++++++++++ .../ai/images/resource-allocation.gif | Bin 0 -> 110026 bytes 3 files changed, 632 insertions(+) create mode 100644 blazor/smart-ai-solutions/ai-samples/gantt-chart/resource-allocation.md create mode 100644 blazor/smart-ai-solutions/ai/images/resource-allocation.gif diff --git a/blazor-toc.html b/blazor-toc.html index 1ebd08f82a..62c282c7c3 100644 --- a/blazor-toc.html +++ b/blazor-toc.html @@ -166,6 +166,11 @@
  • Custom AI Providers
  • +
  • Gantt Chart + +
  • Tree Grid
  • +
  • + Resource Allocation +
  • Connecting to Adaptors
  • -
  • - Resource Allocation -
  • Connecting to Adaptors
    • URL Adaptor
    • @@ -3096,6 +3093,9 @@ + +
    • + Resource Allocation
    • Performance Best Practices diff --git a/blazor/gantt-chart/resources.md b/blazor/gantt-chart/resources.md index 6a71d9a4b5..1b40bcc426 100644 --- a/blazor/gantt-chart/resources.md +++ b/blazor/gantt-chart/resources.md @@ -9,7 +9,7 @@ documentation: ug # Resources in Blazor Gantt Chart Component -Resources in the Angular Gantt component represent people, equipment, or materials allocated to tasks, visualized in taskbars and labels for clear utilization tracking. Assigned via the [GanttResource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.GanttResource-2.html) property, resources map to tasks using [GanttAssignmentFields](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.GanttAssignmentFields-2.html) for ID, name, unit, and group. This enables display of resource names in columns or labels with [GanttLabelSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.GanttLabelSettings-1.html), highlighting workloads and overallocation. Resources include ARIA labels for accessibility, ensuring screen reader compatibility, and adapt to responsive designs, though narrow screens may truncate names for multiple assignments. By default, resources allocate 100% unit if unspecified. +Resources in the Blazor Gantt component represent people, equipment, or materials allocated to tasks, visualized in taskbars and labels for clear utilization tracking. Assigned via the [GanttResource](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.GanttResource-2.html) property, resources map to tasks using [GanttAssignmentFields](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.GanttAssignmentFields-2.html) for ID, name, unit, and group. This enables display of resource names in columns or labels with [GanttLabelSettings](https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Gantt.GanttLabelSettings-1.html), highlighting workloads and overallocation. Resources include ARIA labels for accessibility, ensuring screen reader compatibility, and adapt to responsive designs, though narrow screens may truncate names for multiple assignments. By default, resources allocate 100% unit if unspecified. ## Configure Resource Collection From a102b095b87aabb96242cd217ee0587dee6a9f1c Mon Sep 17 00:00:00 2001 From: Vinitha Balasubramanian Date: Fri, 12 Dec 2025 11:45:31 +0530 Subject: [PATCH 4/5] 998180: Included Gantt Chart with AI user guide --- blazor/gantt-chart/resource-allocation.md | 25 ++++--------------- .../gantt-chart/resource-allocation.md | 25 ++++--------------- 2 files changed, 10 insertions(+), 40 deletions(-) diff --git a/blazor/gantt-chart/resource-allocation.md b/blazor/gantt-chart/resource-allocation.md index 87217a404b..b0da14eab4 100644 --- a/blazor/gantt-chart/resource-allocation.md +++ b/blazor/gantt-chart/resource-allocation.md @@ -578,32 +578,17 @@ builder.Services.AddSyncfusionBlazor(); #region AI Integration // Open AI Service. -string openAIApiKey = "API-KEY"; -string openAIModel = "OPENAI_MODEL"; -OpenAIClient openAIClient = new OpenAIClient(openAIApiKey); -IChatClient openAiChatClient = openAIClient.GetChatClient(openAIModel).AsIChatClient(); -builder.Services.AddChatClient(openAiChatClient); +string apiKey = "API-KEY"; +string modelName = "OPENAI_MODEL"; +OpenAIClient client = new OpenAIClient(apiKey); +IChatClient chatClient = openAIClient.GetChatClient(modelName).AsIChatClient(); +builder.Services.AddChatClient(chatClient); builder.Services.AddSingleton(); builder.Services.AddSingleton(); #endregion var app = builder.Build(); - -// Configure the HTTP request pipeline. -if (!app.Environment.IsDevelopment()) -{ - app.UseExceptionHandler("/Error", createScopeForErrors: true); - // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. - app.UseHsts(); -} - -app.UseHttpsRedirection(); -app.UseAntiforgery(); -app.MapStaticAssets(); -app.MapRazorComponents() - .AddInteractiveServerRenderMode(); - app.Run(); {% endhighlight %} diff --git a/blazor/smart-ai-solutions/ai-samples/gantt-chart/resource-allocation.md b/blazor/smart-ai-solutions/ai-samples/gantt-chart/resource-allocation.md index 2dad148b13..c54edafabe 100644 --- a/blazor/smart-ai-solutions/ai-samples/gantt-chart/resource-allocation.md +++ b/blazor/smart-ai-solutions/ai-samples/gantt-chart/resource-allocation.md @@ -578,32 +578,17 @@ builder.Services.AddSyncfusionBlazor(); #region AI Integration // Open AI Service. -string openAIApiKey = "API-KEY"; -string openAIModel = "OPENAI_MODEL"; -OpenAIClient openAIClient = new OpenAIClient(openAIApiKey); -IChatClient openAiChatClient = openAIClient.GetChatClient(openAIModel).AsIChatClient(); -builder.Services.AddChatClient(openAiChatClient); +string apiKey = "API-KEY"; +string modelName = "OPENAI_MODEL"; +OpenAIClient client = new OpenAIClient(apiKey); +IChatClient chatClient = openAIClient.GetChatClient(modelName).AsIChatClient(); +builder.Services.AddChatClient(chatClient); builder.Services.AddSingleton(); builder.Services.AddSingleton(); #endregion var app = builder.Build(); - -// Configure the HTTP request pipeline. -if (!app.Environment.IsDevelopment()) -{ - app.UseExceptionHandler("/Error", createScopeForErrors: true); - // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts. - app.UseHsts(); -} - -app.UseHttpsRedirection(); -app.UseAntiforgery(); -app.MapStaticAssets(); -app.MapRazorComponents() - .AddInteractiveServerRenderMode(); - app.Run(); {% endhighlight %} From 2c04be8b922ea9c62c186c6164525d0df11b3d2a Mon Sep 17 00:00:00 2001 From: Vinitha Balasubramanian Date: Fri, 12 Dec 2025 13:57:49 +0530 Subject: [PATCH 5/5] 998180: Included Gantt Chart with AI user guide --- blazor/gantt-chart/resource-allocation.md | 2 +- .../ai-samples/gantt-chart/resource-allocation.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/blazor/gantt-chart/resource-allocation.md b/blazor/gantt-chart/resource-allocation.md index b0da14eab4..404b53966b 100644 --- a/blazor/gantt-chart/resource-allocation.md +++ b/blazor/gantt-chart/resource-allocation.md @@ -559,7 +559,7 @@ namespace GanttChart.Components.Model } {% endhighlight %} -{% highlight C# tabtitle="Server (~/_Program.cs)" hl_lines="3 11" %} +{% highlight C# tabtitle="Program.cs" %} using GanttChart.Components; using GanttChart.Components.Service; diff --git a/blazor/smart-ai-solutions/ai-samples/gantt-chart/resource-allocation.md b/blazor/smart-ai-solutions/ai-samples/gantt-chart/resource-allocation.md index c54edafabe..4bc04b6273 100644 --- a/blazor/smart-ai-solutions/ai-samples/gantt-chart/resource-allocation.md +++ b/blazor/smart-ai-solutions/ai-samples/gantt-chart/resource-allocation.md @@ -559,7 +559,7 @@ namespace GanttChart.Components.Model } {% endhighlight %} -{% highlight C# tabtitle="Server (~/_Program.cs)" hl_lines="3 11" %} +{% highlight C# tabtitle="Program.cs" %} using GanttChart.Components; using GanttChart.Components.Service;