Blazor Gantt Chart Example - Advanced Export Customization
Id | Name | Start Date | End Date | Duration | Progress | Dependency |
|---|
1 | Product concept | 3/31/2025 | 4/4/2025 | 5 days | 33 | |
2 | Defining the product usage | 3/31/2025 | 4/2/2025 | 3 days | 30 | |
3 | Defining the target audience | 3/31/2025 | 4/2/2025 | 3 days | 40 | |
4 | Prepare product sketch and notes | 4/3/2025 | 4/4/2025 | 2 days | 30 | 2FS |
5 | Concept approval | 4/4/2025 | 4/4/2025 | 0 days | 0 | 4FS |
6 | Market research | 4/7/2025 | 4/18/2025 | 10 days | 25 | |
7 | Demand analysis | 4/7/2025 | 4/10/2025 | 4 days | 15 | |
8 | Customer strength | 4/7/2025 | 4/10/2025 | 4 days | 30 | 5FS |
9 | Market opportunity analysis | 4/7/2025 | 4/10/2025 | 4 days | 0 | 5FS |
10 | Competitor analysis | 4/15/2025 | 4/18/2025 | 4 days | 30 | |
11 | Product strength analysis | 4/11/2025 | 4/16/2025 | 4 days | 40 | 9FS |
12 | Research completed | 4/18/2025 | 4/18/2025 | 0 days | 30 | 10FS |
13 | Product design and development | 4/21/2025 | 5/13/2025 | 17 days | 31 | 6FS |
14 | Functionality design | 4/21/2025 | 4/23/2025 | 3 days | 30 | 12FS |
15 | Quality design | 4/21/2025 | 4/24/2025 | 4 days | 40 | 12FS |
16 | Define reliability | 4/25/2025 | 4/28/2025 | 2 days | 30 | 15FS |
17 | Identifying raw materials | 4/25/2025 | 4/28/2025 | 2 days | 0 | 15FS |
18 | Define cost plan | 4/29/2025 | 5/1/2025 | 3 days | 35 | 17FS |
19 | Manufacturing cost | 4/29/2025 | 5/1/2025 | 3 days | 40 | 17FS |
20 | Selling cost | 4/29/2025 | 5/1/2025 | 3 days | 30 | 17FS |
21 | Development of final design | 5/2/2025 | 5/13/2025 | 8 days | 33 | |
22 | Develop dimensions and design | 5/2/2025 | 5/5/2025 | 2 days | 30 | 19FS,20FS |
23 | Develop designs to meet industry | 5/6/2025 | 5/8/2025 | 3 days | 40 | 22FS |
24 | Include all the details | 5/9/2025 | 5/13/2025 | 3 days | 30 | 23FS |
Mar 25, 2025 | Mar 30, 2025 | Apr 06, 2025 | Apr 13, 2025 | Apr 20, 2025 | Apr 27, 2025 | May 04, 2025 | May 11, 2025 |
T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S |
This sample demonstrates the advanced PDF export functionality of the Blazor Gantt Chart, enabling project schedules to be exported with customizable headers, footers, and taskbar rendering, so reports align with corporate branding and compliance requirements.
At the sample level, a dialog interface is provided to configure export options before generating the PDF. The configurable options include:
- Columns: Select specific columns or export all.
- Timeline: Export either the default timeline or a custom date range.
- Export Type: Choose between single-page or multi-page export modes.
- Scaling: For multi-page exports, adjust scaling using a percentage value.
- Orientation: Set page orientation (portrait or landscape).
- Paper Size: Select from standard paper sizes to match reporting needs.
The export workflow leverages the ExportToPdfAsync method together with GanttPdfExportProperties to fine-tune layout and scaling. During generation, the PdfQueryTaskbarInfo event provides customization of taskbar colors and labels.
These features ensure that the exported Gantt Chart mirrors the interactive view, including dependencies, progress, and resource allocation while offering flexible presentation control for both single-page summaries and multi-page reports with scaling support.
Refer to the Blazor Gantt Chart documentation for full details on configuration and advanced export options.