jvskriubakken
Posts: 2
Joined: Tue Jun 19, 2018 8:12 am

More than one "time-bar" per task

Hi

I'm using highcharts-gantt.

I want to present a gantt-chart having two "time-bars" within one task. See attached picture, is this possible without grouping tasks?

Thanks,

Jørund
Attachments
Screenshot 2018-11-07 at 11.49.28.png
Screenshot 2018-11-07 at 11.49.28.png (93.44 KiB) Viewed 241 times
rafalS
Posts: 2665
Joined: Thu Jun 14, 2018 11:40 am

Re: More than one "time-bar" per task

Hi, Jørund!

Yes, it is possible. You need to categorize y-axis and enable grouping on the series to let them render independent of each other.

jsFiddle: https://jsfiddle.net/BlackLabel/vjswy3kg/

API Reference: https://api.highcharts.com/gantt/yAxis.type
https://api.highcharts.com/gantt/plotOp ... t.grouping

Best regards!
Rafal Sebestjanski,
Highcharts Team Lead

Return to “Highcharts Usage”