The taskgantt macro draws an interactive Gantt diagram which shows tasks, optionally filtered by start/end date, assignee, space or project.
Examples {{ taskgantt readonly = "false" / }} - enable editing through the UI (disabled by default)
{{ taskgantt from = "2024/09/27 09:00" / }} - filter by start date
{{ taskgantt from = "2024/09/27 09:00" to = "2024/09/27 17:00" / }} - filter by start and end dates
{{ taskgantt projects = "Alpha,Beta,Gamma" / }} - filter by projects (comma separated, escape commas in project names with '\,')
{{ taskgantt assignees = "XWiki.Admin,XWiki.User1" / }} - filter by assigned users (comma separated)
{{ taskgantt spaces = "TaskManager,Sandbox.Tasks.Task_0" / }} - filter by parent spaces (comma separated)
{{ taskgantt hideNoDueDate = "true" / }} - hide tasks which do not have a due date set (default is true)
{{ taskgantt maxTasks = "20" / }} - limit the amount of displayed tasks to this number (default is 50)
{"svgCustomDefs":"\u003ClinearGradient id=\"fadeGrad\">\n\u003Cstop offset=\"30%\" stop-color=\"white\" stop-opacity=\"1\" \/>\n\u003Cstop offset=\"75%\" stop-color=\"white\" stop-opacity=\".6\" \/>\n\u003Cstop offset=\"100%\" stop-color=\"white\" stop-opacity=\"0\" \/>\n\u003C\/linearGradient>\n\u003Cmask x=\"-50%\" y=\"-50%\" width=\"200%\" height=\"200%\" id=\"fademask\" maskContentUnits=\"objectBoundingBox\">\n\u003Crect x=\"-1\" y=\"-1\" width=\"2\" height=\"3\" fill=\"url(#fadeGrad)\"\/>\n\u003C\/mask>\n\n\u003Cfilter id=\"rounded-corners\" x=\"-2.5%\" width=\"105%\" y=\"-5%\" height=\"110%\">\n\u003CfeFlood flood-color=\"rgba(255,60,60)\"\/>\n\u003CfeGaussianBlur stdDeviation=\"4\"\/>\n\u003CfeComponentTransfer>\n\u003CfeFuncA type=\"table\"tableValues=\"0 0 0 1\"\/>\n\u003C\/feComponentTransfer>\n\u003CfeComponentTransfer>\n\u003CfeFuncA type=\"table\"tableValues=\"0 1 1 1 1 1 1 1\"\/>\n\u003C\/feComponentTransfer>\n\u003CfeComposite operator=\"over\" in=\"SourceGraphic\"\/>\n\u003C\/filter>\n","noTasksMessage":"\u003Cdiv class='box' id='ganttNoTasksMessage'>No tasks correspond to the given filter.\u003C\/div>\n"}
Gantt Diagram
Tasks without a due date are hidden
Quarter Day
Half Day
Day
Week
Month
Year
Please wait…