amazing-react-charts 0.7.9 → 0.7.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -58,7 +58,25 @@ To run the demo:
58
58
 
59
59
  ```sh
60
60
  git clone https://github.com/nginformatica/amazing-react-charts.git
61
+ ```
62
+
63
+ Install all the dependencies:
64
+
65
+ ```sh
66
+ yarn
67
+ ```
68
+
69
+ Then, run the following command:
61
70
 
71
+ ```sh
72
+ nvm use
73
+ ```
74
+
75
+ If you don't have the node version that it's beeing required, please install it.
76
+
77
+ To run the demo, run the following command:
78
+
79
+ ```sh
62
80
  yarn && yarn start
63
81
  ```
64
82
 
@@ -145,7 +145,7 @@ var AudiometryChart = function AudiometryChart(props) {
145
145
  });
146
146
  var removedUndefinedMarks = (0, _map.default)(function (item) {
147
147
  return (0, _filter.default)(function (serie) {
148
- return (serie === null || serie === void 0 ? void 0 : serie.value) !== undefined;
148
+ return (serie === null || serie === void 0 ? void 0 : serie.value) !== null;
149
149
  }, item.data);
150
150
  }, seriesMarks);
151
151
  var marksWithTypes = (0, _map.default)(function (item) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "amazing-react-charts",
3
- "version": "0.7.9",
3
+ "version": "0.7.10",
4
4
  "description": "An amazing react charts package based in echarts",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
@@ -156,7 +156,7 @@ const AudiometryChart = (props: IProps) => {
156
156
  }))
157
157
 
158
158
  const removedUndefinedMarks = map(
159
- item => filter(serie => serie?.value !== undefined, item.data),
159
+ item => filter(serie => serie?.value !== null, item.data),
160
160
  seriesMarks
161
161
  )
162
162