{"repo":"wuxudong/react-native-charts-wrapper","free":true,"listed":false,"github":"https://github.com/wuxudong/react-native-charts-wrapper","clone":"git clone https://github.com/wuxudong/react-native-charts-wrapper.git","description":"a react native charts wrapper (support android & iOS)","language":"Java","stars":2498,"topics":["react-native","chart","mpandroidchart","charts"],"license":null,"category":"mobile-apps","readme_excerpt":"React Native Charts Wrapper This library is React Native wrapper of popular Native charting library MPAndroidChart and Charts Introduction Inspired by react-native-mp-android-chart and react-native-ios-charts React Native Charts Wrapper is built on MPAndroidChart(v3.1.0) & Charts(v3.3.0), support both android & iOS. ANDROID IOS Supported Chart Type Bar(Stack,Group) Line Scatter Bubble Pie Radar Combined CandleStick Setup expo 1. expo init demo 2. cd demo 3. expo install react-native-charts-wrapper 4. eas build react-native - npx react-native init demo - cd demo - npm install --save react-native-charts-wrapper - cd ios && pod install - npx react-native run-ios/run-android update App.js Usage There are 8 supported charts with many configuration options. Almost all configuration available in base MPAndroidChart library are available through this wrapper. More details on available configuration can be found on their wiki. Example of how charts are used and how to apply configuration can be found in example. Convention Android and IOS have different convention: 1. color's alpha in android is 0-255, in ios is 0-1 2. percent in android is 0-100, in ios is 0-1 3. animation.duration in MpAndroidChart is milliseconds, in Charts is seconds. 4. their enum case name is always different, for example XAxisPosition, in MpAndroidChart is BOTH SIDED, in Charts is bothSided. Here we use android Convention Always use processColor to set color Data Format - Complete Form data : { ... dataSets: [ ","default_branch":null,"files":null,"tree":[],"storefront":"/r/wuxudong","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/wuxudong/react-native-charts-wrapper/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}