I was experimenting a bit with HighCharts Gantt and I'm feeling like it is not possible to have both subtasks and tasks on the same 'row'. Am I wrong ?
As you can see, sub-tasking is achieved by referencing other task's ID like so :
data: [{
id: 'task-1',
...
}, {
id: 'sub-task-1.1',
parent: 'task-1'
...
}]
while "multiple tasks on one line" is done by declaring yAxis categories and then referencing them by index:
yAxis: {
type: 'category',
categories: ['Tech', 'Marketing', 'Sales']
}
and later
data: [{
y: 0
}]
As I said, it seems to me that achieving both is impossible. I am not just interested in having a different style for the category labels, this could probably be achieved with some CSS classes, but instead I'd like to fold/reveal tasks and sub-tasks containing multiple tasks in the same line.
Is is achievable ?