Skip to content
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

Multiple charts cannot be viewed even after using latest version as well as "APIlib.getInstance().setActiveAnyChartView(anyChartView)" #228

Open
shruti3007 opened this issue Sep 9, 2021 · 2 comments

Comments

@shruti3007
Copy link

shruti3007 commented Sep 9, 2021

Hi, I can't add multiple AnyChartView in my fragment. I'm using version 1.1.2. Even adding APIlib.getInstance().setActiveAnyChartView(anyChartView); after every AnyChartView declaration only one view is seen.
Thanks.

@Shestac92
Copy link

@shruti3007
Unfortunately, the current version of the library doesn't guarantee compatibility with Fragment. Here is the guide for rendering multiple charts in a single layout.

@zeylevruntime
Copy link

@shruti3007
my multiple fragment inside FragmentStatePagerAdapter and just calling notifyDataSetChanged after APIlib.getInstance().setActiveAnyChartView(anyChartView); on this adapter is working for me
Screenshot_2021-09-23-10-40-51 (3)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants