Comments (9)
I think you need to
yarn add react-native-svg
react-native link react-native-svg
For our testing we use expo, and it comes with react-native-svg out of the box.
from react-native-chart-kit.
Adding on to @Hermanya
react-native-svg currently has a bug where automatic linking pulls in libRNSVG-tvOS.a to your Link Binary with Libraries list. Either manually add the project to Xcode, or remove libRNSVG-tvOS after running react-native link react-native-svg
See more here
from react-native-chart-kit.
I had fixed this issue by removing pods and run react-native link react-native-svg and then reinstalling the pods for iOS
for Android it works fine from before
from react-native-chart-kit.
Do not forget rebuild your app: react-native run-android
from react-native-chart-kit.
All working fine with example app, but while integrating to main project displaying this issues
Not Working for me, I have tried all
after link this was adding in podfile
pod 'RNSVG', :path => '../node_modules/react-native-svg'
I have installed previously linear-gradient package and installl pods for react-native-crop-image-picker
does this effects on this package?
please respond me
from react-native-chart-kit.
I don't think it does, if you could make another example project, more similar to your main project, to reproduce this issue. I could take a look.
My suspicion is that your main project might have older versions of dependencies.
from react-native-chart-kit.
Thanks for the reply, these are my dependencies can you please checkout what are the older versions
"@expo/vector-icons": "^8.0.0",
"email-validator": "^2.0.4",
"moment": "^2.23.0",
"native-base": "^2.8.1",
"react": "16.5.0",
"react-native": "0.57.2",
"react-native-autocomplete-input": "^3.6.0",
"react-native-cardview": "^2.0.2",
"react-native-chart-kit": "^2.0.1",
"react-native-code-input": "^1.0.6",
"react-native-datepicker": "^1.7.2",
"react-native-elements": "^0.19.1",
"react-native-image-crop-picker": "^0.21.3",
"react-native-linear-gradient": "^2.4.3",
"react-native-masked-text": "^1.9.2",
"react-native-pure-chart": "0.0.24",
"react-native-push-notification": "^3.1.2",
"react-native-rating": "^2.0.4",
"react-native-simple-dialogs": "^1.0.0",
"react-native-simple-toast": "0.0.8",
"react-native-splash-screen": "^3.1.1",
"react-native-svg": "^9.0.5",
"react-native-vector-icons": "^6.0.2",
"react-navigation": "^2.17.0"
from react-native-chart-kit.
I think you need to
yarn add react-native-svg react-native link react-native-svgFor our testing we use expo, and it comes with react-native-svg out of the box.
yes, maybe that is the problem.. you could mention this in the installation guide. I had to install react-native-svg and I am using xcode
from react-native-chart-kit.
updated installation instructions
from react-native-chart-kit.
Related Issues (20)
- ContributionChartValue should have `count` property or dynamic via accessor
- withVerticalLines HOT 1
- Unknown event handler property `onPress` HOT 1
- LineChart width
- How to render custom Label in axis and top bar
- Error thrown when set `data` is an empty list in <LineChart />
- How to change inner dash line color
- Line chart full width HOT 1
- How to hide/move down the legend from PieChart HOT 1
- Is there any way to make line transparent for a particular data? HOT 1
- Vertical X-axis label in two lines
- Bar Chart VerticalLines not rendered.
- How to get Image (svg or png) of chart?
- Cannot change fillShadow on ProgressChart HOT 1
- How to show 6 labels in Y-axis in Line-chart HOT 1
- How to get the real width of the line chart?
- I have an issue with the Linechart. Dashed/Dotted lines in the beginning.
- Bar Chart Y axis Space on left issue
- yAxisInterval is not working
- Format Top of bars
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-chart-kit.