dimetil
Posts: 1
Joined: Wed Dec 30, 2020 10:02 am

Android does not draw the Highcharts in a recycler completely

Hello,

I'm using the Highcharts library (the latest wrapper version 8.1.2) to represent multiple charts in a RecyclerView component.
The issue I faced with is that some of the recycler's items are not completely rendered.

Attaching correctly rendered and corrupted screens below (the correct one, corrupted, corrupted with the bounds).
You can see that there is nothing overlapping the Highcharts view. So this is not a layout related bug.
There is also nothing interesting in the Android Studio logcat.

The issue is a not 100% reproducible. This is why I've created a test app with a dummy views and data (20 items in a list).
With its help I can reproduce the bug easily in 1 from 5 app's starts. The issue might appear in any recycler position (0, 1,...) Most likely it appears on a first app start.

Is there any chance to get an error message for the issue debugging? Default logcat shows no obvious errors.
Is there a known bug as described?

Thank you
device-2020-12-30-125911.png
device-2020-12-30-125911.png (62.71 KiB) Viewed 315 times
device-2020-12-30-130814.png
device-2020-12-30-130814.png (38.07 KiB) Viewed 315 times
device-2020-12-30-130739.png
device-2020-12-30-130739.png (41.49 KiB) Viewed 315 times
pawelys
Posts: 962
Joined: Wed Sep 02, 2020 10:37 am

Re: Android does not draw the Highcharts in a recycler completely

Hello, welcome to the official Highcharts forum, and thanks for contacting us with your question!
There is no similar bug in the GH right now. Seems, like the chart is not being loaded (once every 5 times?) Please, share the demo ( your code configuration or GitHub repo with the issue reproduced will do).
Kind regards,
Paweł Lysy
Highcharts Developer
Iraklis
Posts: 7
Joined: Thu Feb 25, 2021 1:02 pm

Re: Android does not draw the Highcharts in a recycler completely

Do we have any update on this? I am having the same issue: viewtopic.php?f=9&t=45992
pawelys
Posts: 962
Joined: Wed Sep 02, 2020 10:37 am

Re: Android does not draw the Highcharts in a recycler completely

Hi! Since you already asked the question on a separate topic, we will answer your questions there! Kind regards,
Paweł Lysy
Highcharts Developer

Return to “Highcharts Usage”