sag_components 1.0.1039 → 1.0.1040

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.
@@ -170,13 +170,14 @@ const TotalHorizontalCharts = props => {
170
170
  margin: {
171
171
  top: 10,
172
172
  right: 20,
173
- bottom: 12,
173
+ bottom: barsMargin,
174
174
  left: 10
175
175
  }
176
176
  }, /*#__PURE__*/_react.default.createElement(_recharts.XAxis, {
177
177
  type: "number"
178
178
  // domain={[0, (dataMax) => Math.max(dataMax, value)]}
179
- // domain={[0, (dataMax) => (dataMax * rightGap)]}
179
+ ,
180
+ domain: [0, dataMax => dataMax * rightGap]
180
181
  // allowDataOverflow={false}
181
182
  ,
182
183
  hide: true
@@ -232,7 +233,7 @@ TotalHorizontalCharts.defaultProps = {
232
233
  labelLimitedLetters: 12,
233
234
  width: '100%',
234
235
  height: '100%',
235
- barsMargin: 0,
236
+ barsMargin: 12,
236
237
  rightGap: 1,
237
238
  textColor: '#212121',
238
239
  noDataText: 'No Data',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "1.0.1039",
3
+ "version": "1.0.1040",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {