marina.lj
Posts: 1
Joined: Mon Aug 29, 2022 11:39 am

Multiple bars per row for Gantt with left axis as a table

Hello,

I am trying to create Gantt with multiple bars per row - at different levels on y axis - like these examples (found on this forum):
https://jsfiddle.net/BlackLabel/jcdma83r/
https://jsfiddle.net/BlackLabel/3fdkm7px/

Where solution was to have:

Code: Select all

yAxis: {
    uniqueNames: true
    } 
However, I am unable to make it work for this type of Gantt:
https://www.highcharts.com/demo/gantt/left-axis-table

Apparently, multiple bars per row will not work like in the first 2 examples I've posted. Instead it gives something like this - multiple bars in same row, but overlapping - at same levels on y axis (last row):
https://imgur.com/igGBL5x

How can I make it work like in the examples shown above?

Thank you.
michal.f
Posts: 1114
Joined: Thu Aug 12, 2021 12:04 pm

Re: Multiple bars per row for Gantt with left axis as a table

Hello,

Welcome to our forum and thanks for contacting us with your question!

Unfortunately, the yAxis.uniqueNames option does not work with yAxis.grid so it is not possible to achieve it this way.

Let me know if you have any further questions!
Best regards!
Michał Filipiec
Highcharts Developer
https://blacklabel.pl/highcharts/

Return to “Highcharts Gantt”