sag_components 1.0.929 → 1.0.930

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"
@@ -296,7 +301,7 @@ SingleBarLineCharts.defaultProps = {
296
301
  isLineChartBolded: false,
297
302
  setLineChartTooltip: false,
298
303
  isTopBarPercent: true,
299
- maxRange: 1,
304
+ maxRange: 0.1,
300
305
  showPeriod: true,
301
306
  currencySign: '€',
302
307
  currencySignLine: '€',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.929",
3
+ "version": "1.0.930",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {