From ebf322799ba592783b3d44a926ce10903fa44cba Mon Sep 17 00:00:00 2001 From: Louis Lagrange Date: Sat, 2 Sep 2017 17:01:37 +0200 Subject: [PATCH 1/5] Upgrade to RN 0.47.2 (#184) --- example/ios/example.xcodeproj/project.pbxproj | 4 ++-- example/ios/project.pbxproj | 2 +- example/package.json | 2 +- package.json | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/example/ios/example.xcodeproj/project.pbxproj b/example/ios/example.xcodeproj/project.pbxproj index 083424d..ff51e47 100644 --- a/example/ios/example.xcodeproj/project.pbxproj +++ b/example/ios/example.xcodeproj/project.pbxproj @@ -878,7 +878,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; + shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; }; 2D02E4CB1E0B4B27006451C7 /* Bundle React Native Code And Images */ = { isa = PBXShellScriptBuildPhase; @@ -892,7 +892,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; + shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; }; /* End PBXShellScriptBuildPhase section */ diff --git a/example/ios/project.pbxproj b/example/ios/project.pbxproj index f3a0dd6..bf3e0aa 100644 --- a/example/ios/project.pbxproj +++ b/example/ios/project.pbxproj @@ -531,7 +531,7 @@ ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; + shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; showEnvVarsInLog = 1; }; /* End PBXShellScriptBuildPhase section */ diff --git a/example/package.json b/example/package.json index 99fa876..f84d753 100644 --- a/example/package.json +++ b/example/package.json @@ -9,7 +9,7 @@ "dependencies": { "moment": "^2.17.1", "react": "16.0.0-alpha.12", - "react-native": "~0.46.1", + "react-native": "0.47.2", "react-native-pathjs-charts": "file:../", "react-native-side-menu": "^0.20.1", "react-navigation": "^1.0.0-beta.9" diff --git a/package.json b/package.json index bf8c37a..0010efb 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "babel-polyfill": "^6.23.0", "lodash": "^4.12.0", "paths-js": "^0.4.5", - "react-native-svg": "~5.3.0" + "react-native-svg": "~5.4.0" }, "devDependencies": { "babel-jest": "*", @@ -50,7 +50,7 @@ "jest-react-native": "*", "react": "16.0.0-alpha.12", "react-dom": "16.0.0-alpha.12", - "react-native": "~0.46.1", + "react-native": "0.47.2", "react-test-renderer": "16.0.0-alpha.12" }, "jest": { From 0111246285ab38febafe26332a3532d49d281e26 Mon Sep 17 00:00:00 2001 From: Bret Marzolf Date: Sat, 2 Sep 2017 09:00:41 -0700 Subject: [PATCH 2/5] New release for .31 (#187) --- CHANGELOG.md | 18 ++++++++++++++++-- package.json | 2 +- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 14285b9..1b0c4f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,21 @@ # Change Log -## [v0.0.30](https://github.com/capitalone/react-native-pathjs-charts/tree/v0.0.30) (2017-07-12) -[Full Changelog](https://github.com/capitalone/react-native-pathjs-charts/compare/0.0.29...v0.0.30) +## [0.0.31](https://github.com/capitalone/react-native-pathjs-charts/tree/HEAD) + +[Full Changelog](https://github.com/capitalone/react-native-pathjs-charts/compare/0.0.30...HEAD) + +**Closed issues:** + +- The sort method cannot be invoked on an Immutable data structure. [\#178](https://github.com/capitalone/react-native-pathjs-charts/issues/178) +- Build failed in RN 0.45.1 \(iOS\) [\#169](https://github.com/capitalone/react-native-pathjs-charts/issues/169) + +**Merged pull requests:** + +- Upgrade to RN 0.47.2 [\#184](https://github.com/capitalone/react-native-pathjs-charts/pull/184) ([Minishlink](https://github.com/Minishlink)) +- Upgrade to .30 [\#171](https://github.com/capitalone/react-native-pathjs-charts/pull/171) ([marzolfb](https://github.com/marzolfb)) + +## [0.0.30](https://github.com/capitalone/react-native-pathjs-charts/tree/0.0.30) (2017-07-12) +[Full Changelog](https://github.com/capitalone/react-native-pathjs-charts/compare/0.0.29...0.0.30) **Closed issues:** diff --git a/package.json b/package.json index 0010efb..3dcc299 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-pathjs-charts", - "version": "0.0.30", + "version": "0.0.31", "description": "Cross platform React Native charting library based on path-js and react-native-svg", "repository": { "type": "git", From 88b76ce826cc80da51c005a6ba70876b5d346a0a Mon Sep 17 00:00:00 2001 From: Amaury Liet Date: Sat, 30 Sep 2017 02:38:51 +0200 Subject: [PATCH 3/5] Feature/improve smoothline chart (#183) * Add strokeDasharray Allow functions as options to specify per graph settings. * Display points over graph * Fix tests * Add dynamicLineRendering test --- example/src/App.js | 6 + example/src/Menu.js | 5 + example/src/stockline/StockLineChartBasic.js | 16 +- .../StockLineChartDynamicLineRendering.js | 272 +++++++++++++++ .../StockLineChartDynamicTickLabels.js | 19 +- src/Line.js | 320 ++++++++++++------ .../SmoothLineBasic-test.js.snap | 4 + .../SmoothLineRegions-test.js.snap | 4 + .../SmoothLineRegionsExtended-test.js.snap | 4 + .../__snapshots__/StockLineBasic-test.js.snap | 6 + .../StockLineDynamicTickLabels-test.js.snap | 2 + .../StockLineStaticTickLabels-test.js.snap | 2 + 12 files changed, 531 insertions(+), 129 deletions(-) create mode 100644 example/src/stockline/StockLineChartDynamicLineRendering.js diff --git a/example/src/App.js b/example/src/App.js index f2bb969..ffc1de6 100644 --- a/example/src/App.js +++ b/example/src/App.js @@ -30,6 +30,7 @@ import PieChartBasic from './pie/PieChartBasic' import StockLineChartBasic from './stockline/StockLineChartBasic' import StockLineChartStaticTickLabels from './stockline/StockLineChartStaticTickLabels' import StockLineChartDynamicTickLabels from './stockline/StockLineChartDynamicTickLabels' +import StockLineChartDynamicLineRendering from './stockline/StockLineChartDynamicLineRendering' import SmoothLineChartBasic from './smoothline/SmoothLineChartBasic' import SmoothLineChartRegions from './smoothline/SmoothLineChartRegions' @@ -82,6 +83,10 @@ class HomeScreen extends React.Component { onPress={() => navigate('StockLineChartDynamicTickLabels')} title="StockLine - Dynamic Labels" /> +