Skip to content

Commit

Permalink
update package.json to 0.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
wuxudong committed Apr 4, 2018
1 parent 6a39034 commit 3b14904
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 3 deletions.
20 changes: 18 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This library is React Native wrapper of popular Native charting library [MPAndro

Inspired by [react-native-mp-android-chart](https://github.com/mskec/react-native-mp-android-chart) and [react-native-ios-charts](https://github.com/Jpadilla1/react-native-ios-charts)

React Native Charts Wrapper is built on MPAndroidChart(v3.0.2) & Charts(v3.0.3), support both android & ios.
React Native Charts Wrapper is built on MPAndroidChart(v3.0.3) & Charts(v3.1.1), support both android & iOS.


### ANDROID
Expand All @@ -15,7 +15,6 @@ React Native Charts Wrapper is built on MPAndroidChart(v3.0.2) & Charts(v3.0.3),
### IOS
![](https://raw.githubusercontent.com/wuxudong/react-native-charts-wrapper/master/screenshot/IOS%20ScreenShot.png)


## Supported Chart Type

* Bar(Stack,Group)
Expand Down Expand Up @@ -106,12 +105,29 @@ protected List<ReactPackage> getPackages() {
}
```

* **Additional setting**

Add following code to MainApplication.java for RN >= 0.54, check [#229](https://github.com/wuxudong/react-native-charts-wrapper/issues/229) and the code in android example.

```java
ReadableNativeArray.setUseNativeAccessor(true);
ReadableNativeMap.setUseNativeAccessor(true);
```




### IOS

Version 0.4.3 use Charts(v3.1.1) & swift 4.1

Version 0.4.2 use Charts(v3.0.3) & swift 3


Your may be interested in this article [Detail Guide provided by contributor](https://www.evernote.com/shard/s304/sh/5d501d94-a8e0-4309-9866-e2026356a29d/130a7aa8b84d73a6)



#### 1. Add Source Files

create a group under your project *top level* and add files under directory node_modules/react-native-charts-wrapper/ios/ReactNativeCharts
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "git",
"url": "https://github.com/wuxudong/react-native-charts-wrapper.git"
},
"version": "0.4.2",
"version": "0.4.3",
"description": "A react-native charts support both android and ios.",
"author": "wuxudong",
"license": "MIT",
Expand Down

0 comments on commit 3b14904

Please sign in to comment.