Kishan silawat
Posts: 25
Joined: Thu Nov 24, 2022 10:10 am

Chart size issue.

I'm integrating the gantt highcharts. I need to show overlapped data but it is causing the chart size issue.

https://jsfiddle.net/Kishan_Silawat_2022/7ubsr4xv/2/
Kishan silawat
Posts: 25
Joined: Thu Nov 24, 2022 10:10 am

Re: Chart size issue.

Kishan silawat wrote: Mon Nov 28, 2022 11:20 am I'm integrating the gantt highcharts. I need to show overlapped data but it is causing the chart size issue.

https://jsfiddle.net/Kishan_Silawat_2022/7ubsr4xv/2/
I need to use uniqueNames because I want to show the bar in the same row, Secondly, I need to show overlapped data also for that I'm creating multiple series but It is causing chart size issues. I tried some methods to overcome this issue, like defining the chart height based on the series data but it is bar height low.

Best Regards
kishan
User avatar
dawid.d
Posts: 807
Joined: Thu Oct 06, 2022 11:31 am

Re: Chart size issue.

Hi,

Thanks for contacting us with your question and I'm sorry for the late response.

This actually seems to be a bug.
I found an issue on GitHub about this topic, you can find some workarounds there and ask for an update.
https://github.com/highcharts/highcharts/issues/11796

Consider whether it is necessary to use more than one series in this case. For single series, everything works fine.
Demo: https://jsfiddle.net/BlackLabel/xsdfp3c8/

I hope you will find it useful
Best regards!
Dawid Draguła
Highcharts Developer
Kishan silawat
Posts: 25
Joined: Thu Nov 24, 2022 10:10 am

Re: Chart size issue.

dawid.d wrote: Wed Dec 07, 2022 1:19 pm Hi,

Thanks for contacting us with your question and I'm sorry for the late response.

This actually seems to be a bug.
I found an issue on GitHub about this topic, you can find some workarounds there and ask for an update.
https://github.com/highcharts/highcharts/issues/11796

Consider whether it is necessary to use more than one series in this case. For single series, everything works fine.
Demo: https://jsfiddle.net/BlackLabel/xsdfp3c8/

I hope you will find it useful
Best regards!
Do we have any alternate for this?
User avatar
dawid.d
Posts: 807
Joined: Thu Oct 06, 2022 11:31 am

Re: Chart size issue.

Hi,

In my opinion, the simplest alternative is to put the data into one series. See the demo below.
Demo: https://jsfiddle.net/BlackLabel/gexaq8vL/

However, since the issue is on GitHub, I highly recommend moving the discussion there, you can at least ask for an update there. There is also various information on workarounds.

Let me know if you have any further questions!
Best regards
Dawid Draguła
Highcharts Developer

Return to “Highcharts Gantt”