maxatthemax
Posts: 5
Joined: Wed Jul 07, 2021 5:13 pm

Adding data onto gantt for specific yAxis

Hi, I'm having trouble setting up my gantt chart to be able to organise work between people.

On my yAxis I want to have peoples ids and be able to add multiple jobs (with start and end dates) for the same person.
In the gantt demos, they set the yAxis to group the data together however I would want to group the jobs by the persons id.
When I do this, if the persons id is 4, it would plot their jobs on the y=4 and have empty lines leading up to it which i dont want.

Is there a different way of doing what i want?

Thanks in advance for any help

Max
User avatar
sebastian.h
Posts: 1734
Joined: Fri Aug 07, 2020 7:08 am

Re: Adding data onto gantt for specific yAxis

Hi,
Thanks for contacting us with your question.

I'm not sure what exactly you are looking for, please check this demo.

Example of grouping task in series.
https://jsfiddle.net/BlackLabel/9rpozfuj/

I'm waiting for news from you.
Best regards.
Sebastian Hajdus
Highcharts Developer

Return to “Highcharts Gantt”