sag_components 1.0.355 → 1.0.357
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.
|
@@ -24,6 +24,7 @@ var PerformanceAnalyticsOneColumn = exports.PerformanceAnalyticsOneColumn = func
|
|
|
24
24
|
lineChartHeight = props.lineChartHeight,
|
|
25
25
|
lineChartValueType = props.lineChartValueType,
|
|
26
26
|
lineChartValueBold = props.lineChartValueBold,
|
|
27
|
+
barChartHeight = props.barChartHeight,
|
|
27
28
|
topBarPercentSigning = props.topBarPercentSigning,
|
|
28
29
|
topBarSigning = props.topBarSigning,
|
|
29
30
|
noDataText = props.noDataText,
|
|
@@ -138,7 +139,7 @@ var PerformanceAnalyticsOneColumn = exports.PerformanceAnalyticsOneColumn = func
|
|
|
138
139
|
if (data && data.length > 0) {
|
|
139
140
|
return /*#__PURE__*/_react.default.createElement(_recharts.ResponsiveContainer, {
|
|
140
141
|
id: "ResponsiveContainer",
|
|
141
|
-
height:
|
|
142
|
+
height: barChartHeight
|
|
142
143
|
}, /*#__PURE__*/_react.default.createElement(_recharts.BarChart, {
|
|
143
144
|
data: data,
|
|
144
145
|
maxBarSize: 60,
|
|
@@ -273,7 +274,8 @@ var _default = exports.default = PerformanceAnalyticsOneColumn;
|
|
|
273
274
|
PerformanceAnalyticsOneColumn.defaultProps = {
|
|
274
275
|
colorBarchart1: '#1F7677',
|
|
275
276
|
colorBarchart2: '#90CE9C',
|
|
276
|
-
lineChartHeight:
|
|
277
|
+
lineChartHeight: 50,
|
|
278
|
+
barChartHeight: 250,
|
|
277
279
|
width: '100%',
|
|
278
280
|
height: '100%',
|
|
279
281
|
noDataText: 'No data',
|