-
Notifications
You must be signed in to change notification settings - Fork 664
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
Blank Chart on IOS #1008
Comments
I have the same issue with RN0.76: Android works fine but iOS shows empty space |
I have the same problem with 0.76 version. LineСhart and BarChart don't work |
there is this solution, but the BarChart does not work. Linear graph worked for me |
It's work for me, for BarChart |
@NikldjOne If it is solved using this PR, why hasn't it been merged until now? |
https://github.com/wuxudong/react-native-charts-wrapper/pull/1007/files
and as @NikldjOne mentioned using the above lines in each chart kind will resolve the problem |
The same problem for me. I've just tried to run the example. On Android, it works when iOS shows a blank screen. |
@eugen-vg you will find that the piece of code added to the chart type you implement in node modules will solve the problem
Example:
...etc |
Thank you @HasanElfalt . It works. I am still concerned about the approach to wrapping the native iOS/Android layers under one library. The history of this one says that Android drove it, and an unworking example doesn't add trust that iOS would work robustly. How do people use it in production? Is there another workaround that does not change the core code? |
Hello everyone,
I am trying to generate charts (Line, Pie, and MultiLine Charts), and they all appear blank (the chart place is empty just on IOS, and it is working fine on Android after updating React native to 0.76 or above.
Screenshots
Steps to Reproduce the Problem
Specifications
The text was updated successfully, but these errors were encountered: