-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gantt doesn't work while using array of arrays as a data #17738
Comments
Internal note: |
fix for #14026 is working only for single array and the problem/error is with when using multiple arrays. |
any update on this? |
Yes, the PR that is linked only works for a single array. What I meant is that the fix should be concentrated on changing that. Besides that, there has been no change. |
@karolkolodziej |
if I pass unstructured data then it will take time to process or it will work normally like the array of object data? |
@bhandurejitu If you declare data as an array of arrays it is going to be faster than objects but still with reasonable amount of data (~5k points) the difference should not be that noticible. |
@karolkolodziej for large series data(any chart) which one is best among the array of objects or unstructured data |
Hi, I still face the same problem on version Highcharts 11.4.6 Is there any update on this or have any alternative method? (to load over 1K data in Highcharts Gantt) Thanks! |
Hi @millieqiu! Thank you for pointing out this issue. I've added it to our backlog, you will get notifications here when the work will start. |
Actual behaviour
While using an array of arrays (instead of an array of objects), the Gantt allows only one point. If we try to add more, the chart doesn't load up and it throws
indexOf is not a function
error.Live demo with steps to reproduce
https://jsfiddle.net/BlackLabel/5t97fr0c/
Uncomment the 6th line to see the error.
Product version
Highcharts Gantt v10.2.1 (latest)
The text was updated successfully, but these errors were encountered: