Skip to content

Commit f9c3c03

Browse files
Merge pull request #357 from JesperLekland/release/5.3.0
Release/5.3.0
2 parents 8961ad9 + d61e015 commit f9c3c03

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+2303
-1784
lines changed

.circleci/config.yml

-173
This file was deleted.

.eslintrc.json

+3-23
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11
{
2-
"extends": [
3-
"eslint:recommended",
4-
"plugin:react/recommended"
5-
],
6-
"plugins": [
7-
"react",
8-
"react-native"
9-
],
2+
"extends": ["eslint:recommended", "plugin:react/recommended"],
3+
"plugins": ["react", "react-native"],
104
"parser": "babel-eslint",
115
"parserOptions": {
126
"ecmaVersion": 6,
@@ -30,23 +24,9 @@
3024
"rules": {
3125
"no-multiple-empty-lines": ["error", { "max": 1 }],
3226
"react/prop-types": [0],
33-
"indent": ["error", 4, { "SwitchCase": 1 }],
34-
"object-curly-spacing": ["error", "always"],
35-
"array-bracket-spacing": ["error", "always", {
36-
"objectsInArrays": false,
37-
"arraysInArrays": false
38-
}],
39-
"comma-dangle": ["error", "always-multiline"],
4027
"no-console": "off",
41-
"semi": ["error", "never"],
42-
"quotes": ["error", "single", { "allowTemplateLiterals": true }],
43-
"eol-last": ["error", "always"],
4428
"react/display-name": 0,
4529
"no-unexpected-multiline": "off",
46-
"max-len": ["error", 120, { "ignoreStrings": true, "ignoreTemplateLiterals": true }],
47-
"space-infix-ops": "error",
48-
"react/jsx-curly-spacing": [2, {"when": "always", "spacing": {
49-
"objectLiterals": "never"
50-
}}]
30+
"space-infix-ops": "error"
5131
}
5232
}

CHANGELOG.md

+24-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
1-
5.2.0
1+
# 5.3.0
22

3-
* Add `x(Min|Max)` and `y(Min|Max)`
4-
* Add `clamp(X|Y)` to use in conjunction with above props (default `false`)
5-
* Add xScale to StackedAreaChart along with (x|y)Accessor
3+
### Contributions
4+
5+
- update README ([@andrewdazs](https://github.com/andrewdazs) and [@iammosespaulr](https://github.com/iammosespaulr))
6+
- fix crash in Axis component ([@krzysztof-miemiec](https://github.com/krzysztof-miemiec) - [#238](https://github.com/JesperLekland/react-native-svg-charts/pull/238))
7+
- Introduce grouped LineChart ([@alburdette619](https://github.com/alburdette619) - [#240](https://github.com/JesperLekland/react-native-svg-charts/pull/240))
8+
- Introduce grouped StackedBarChart ([@alburdette619](https://github.com/alburdette619) - #239)
9+
- Fix 'transparent' color for X-Axis and Y-Axis in RN 0.57 ([@denieler](https://github.com/denieler) - #256)
10+
- Added extra props to axis children ([@alburdette619](https://github.com/alburdette619) - #276)
11+
- Create interaction handle during animation ([@Jyrno42](https://github.com/Jyrno42) - #314)
12+
- Stacked Area Chart: Pass `areas` down to children ([@attitude](https://github.com/attitude) - #316)
13+
- Added more props to axis children ([@buschco](https://github.com/buschco) - #326)
14+
- Fix blinking animation ([@andycloke](https://github.com/andycloke) - #329)
15+
- Fix YAxis using Unnecessary max/min value before definition ([@saji-ryu](https://github.com/saji-ryu) - #354)
16+
- prevent crash on undefined data ([@usrbowe](https://github.com/usrbowe) - #355)
17+
18+
* remove eslint formatting in favor of prettier (easier to contribute)
19+
* remove circleci checks as they didn't add any value (easier to contribute)
20+
21+
# 5.2.0
22+
23+
- Add `x(Min|Max)` and `y(Min|Max)`
24+
- Add `clamp(X|Y)` to use in conjunction with above props (default `false`)
25+
- Add xScale to StackedAreaChart along with (x|y)Accessor

ISSUE_TEMPLATE.md

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ what actions are needed to reproduce the problem? e.g click a button?
1616
* [ ] Android <!-- specific os version ? -->
1717

1818
React Native version: 0.xx
19+
react-native-svg-charts-version: x.x.x
1920

2021
### Code to reproduce
2122

README.md

+3-11
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@
77

88
Welcome to react-native-svg-charts!
99

10+
### Looking for maintainers! I alone don't have the time to maintain this library anymore. Preferably looking for somebody who uses this library in their proffesional work (how I originally got the time to maintain).
11+
1012
### version 5 is now available!
1113
A much improved decorator system has been introduced, allowing for greater flexibility and less complexity.
1214
See [releases](https://github.com/JesperLekland/react-native-svg-charts/releases) for more information.
@@ -572,16 +574,6 @@ class ProgressCircleExample extends React.PureComponent {
572574
| height | the height of the canvas in pixels |
573575
| data | the same data array provided to the chart, use this to map over your data points if you want decorators on each point |
574576

575-
576-
#### Arguments to children
577-
578-
| Property | Description
579-
| --- | --- |
580-
| width | the width of the canvas in pixels |
581-
| height | the height of the canvas in pixels |
582-
| data | the same data array provided to the chart, use this to map over your data points if you want decorators on each point |
583-
584-
585577
### YAxis
586578

587579
![Y-axis](https://raw.githubusercontent.com/jesperlekland/react-native-svg-charts/master/screenshots/y-axis.png)
@@ -742,7 +734,7 @@ Simply place it as child to the chart of your choice and (if necessary) set its
742734
| belowChart | true | whether or not to render below the chart |
743735

744736
### Examples
745-
There is a ton of examples over at [react-native-svg-chart-exampels](https://github.com/JesperLekland/react-native-svg-charts-examples)
737+
There are tons of examples over at [react-native-svg-chart-examples](https://github.com/JesperLekland/react-native-svg-charts-examples)
746738

747739

748740
## License

index.js

+3-9
Original file line numberDiff line numberDiff line change
@@ -17,26 +17,20 @@ const App = () => {
1717
textAlign: 'center',
1818
}}
1919
>
20-
{
21-
'Welcome to "react-native-svg-charts". \n' +
22-
'To see showcases of all our charts\n'
23-
}
20+
{'Welcome to "react-native-svg-charts". \n' + 'To see showcases of all our charts\n'}
2421
</Text>
2522
<Text
2623
style={{
2724
fontSize: 14,
2825
alignSelf: 'center',
2926
}}
3027
>
31-
{
32-
'• Stop your packager \n' +
28+
{'• Stop your packager \n' +
3329
'• run "yarn storybook" \n' +
3430
'• Go to "localhost:7008" in your browser\n' +
3531
'• reload your device \n' +
36-
'• browse our charts'
37-
}
32+
'• browse our charts'}
3833
</Text>
39-
4034
</View>
4135
)
4236
}

0 commit comments

Comments
 (0)