AnyChart / AnyChart-Android

AnyChart Android Chart is an amazing data visualization library for easily creating interactive charts in Android apps. It runs on API 19+ (Android 4.4) and features dozens of built-in chart types.
2.29k stars 367 forks source link

Many Card Views with view of type AnyChartView #179

Open ForceGT opened 4 years ago

ForceGT commented 4 years ago

I am using Many Cards all having view of type AnyChartView However only the last View in the list is rendered Others stay blank

The sauce of the fragment is Here What I am basically doing is fetching Data from an API and rendering a graph accordingly This is done using an Interface and AsyncTask

I am not sure if this issues is because each AnyChartView requires a network call so maybe a lot of multithreading

ForceGT commented 4 years ago

2020-6-13_20-14-4 Here is an image just in case

evivar commented 4 years ago

This is what happens to me, I have some Charts, but when I try to plot the data, I only can plot the last chart and I'm using an AsyncTask to read data from API, if you can solve the problem, please, tell me how did you do.

Shestac92 commented 4 years ago

@evivar Unfortunately, the only supported approach of showing multiple charts in a single layout is described in the wiki article. We do not guarantee that any other approaches will work.

R33N4K0R commented 1 year ago

same issue