sag_components 1.0.929 → 1.0.931

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.
@@ -251,8 +251,13 @@ const SingleBarLineCharts = props => {
251
251
  type: "number",
252
252
  width: 0,
253
253
  display: "none",
254
- domain: ['auto', dataMax => dataMax * maxRange],
255
- allowDataOverflow: true
254
+ allowDataOverflow: true,
255
+ domain: ['auto', dataMax => {
256
+ if (String(dataMax) === '-Infinity') {
257
+ return 0;
258
+ }
259
+ return dataMax * maxRange;
260
+ }]
256
261
  }), /*#__PURE__*/_react.default.createElement(_recharts.ReferenceLine, {
257
262
  y: 0,
258
263
  stroke: "#D0D0D0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.929",
3
+ "version": "1.0.931",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {