Dominik Welte
Posts: 11
Joined: Wed Sep 28, 2022 8:51 am

Data won't show

Hello freinds,
i have another request:
I prepare my data in the backend and then i try to render it in the Highcharts.ganttChart

https://jsfiddle.net/a279vtqu/2/

The data won't render and i dont know why. I tried a lot also with options.series.data it won't render.

The data is an array with dictonaries

Could you please provide some help ?

Best regards
Dominik
User avatar
dawid.d
Posts: 755
Joined: Thu Oct 06, 2022 11:31 am

Re: Data won't show

Hello,

Thanks for contacting us with your question!

The problem is that you entered the parent id as a number but the chart expects it to be text.

Demo: https://jsfiddle.net/BlackLabel/bu081oxt/

I hope you will find it useful
Best regards!
Dawid Draguła
Highcharts Developer
Dominik Welte
Posts: 11
Joined: Wed Sep 28, 2022 8:51 am

Re: Data won't show

Hello Dawid,
thanks a lot for your help. I just didn't focus on the datatype any more...

Anyway now my code is working.

Best regards
Dominik
User avatar
dawid.d
Posts: 755
Joined: Thu Oct 06, 2022 11:31 am

Re: Data won't show

You're welcome!

In case of any further questions, feel free to contact us again.
Best regards
Dawid Draguła
Highcharts Developer

Return to “Highcharts Gantt”