Refer to these page on setup the chart for:
Add this css for the complete grid row's color: .gantt .bar-complete-x {}
Add this css for the progress color of grid row: .gantt .bar-progress-x {}
The bugs fixed:
Add this css for the white grid row: .gantt .grid-row.grid-row-white { fill: #ffffff; }
Add this css for the cross dependency message:
.gantt .bar-wrapper .bar-group .bar-label.bar-label-extra.bar-label-left { fill: var(--color-neutral-9);}
Function to scroll to the task (client Action "ScrollToAction"): call this function to focus on the action
The bug fixed: error message "Page size must be smaller than 14400 by 14400" will be raised up when the size of the exported image exceeds.
Add the below css to set the different color for the completed milestone
.gantt .bar-milestone.completed{
fill: var(--color-primary);
}
Clear active clicked bar (client action "ClearActiveBar"): call this function can clear the clicked bar on chart
Export JPEG (client action "ExportJPEG"): for update, this function requires 2 more inputs:
Anchor left for view mode month and year: need to declare the below css in your theme
.gantt .bar-label.bar-label-left {
text-anchor: start;
Scroll to date (client action "ScrollToDate"): call this function can focus the input date on chart
Clear highlight search result (client action "ClearHighlightSearchResult"): call this function can clear all the highlight items on chart
Highlight search result (client action "HighlightSearchResult"): call this function can highlight the input id of the bar (need to add css for ".gantt .bar-search-result"
For snapshot with status:
Note: view the DemoSnapshot screen for more detail about the snapshot function
Scroll to today (client action "ScrollToToday"): call this function can focus the today part on chart
Export to jpeg (client action "ExportJPEG"): call this function can export FULL chart to jpeg, although the chart has scroll or not
Snapshot function: there some note for data of snapshot:
Need to follow these steps to make the Gantt chart work for your screen
The view mode includes: