sag_components 1.0.945 → 1.0.946
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.
|
@@ -28,6 +28,7 @@ const SingleBarLineCharts = props => {
|
|
|
28
28
|
showLegend,
|
|
29
29
|
legendData,
|
|
30
30
|
maxBarRange,
|
|
31
|
+
showLineChart,
|
|
31
32
|
lineRange,
|
|
32
33
|
lineFontSizeValue,
|
|
33
34
|
barFontSizeValue,
|
|
@@ -207,7 +208,7 @@ const SingleBarLineCharts = props => {
|
|
|
207
208
|
width: "40%",
|
|
208
209
|
height: "60px",
|
|
209
210
|
data: totalsData
|
|
210
|
-
}), /*#__PURE__*/_react.default.createElement(_recharts.ResponsiveContainer, {
|
|
211
|
+
}), showLineChart && /*#__PURE__*/_react.default.createElement(_recharts.ResponsiveContainer, {
|
|
211
212
|
height: lineChartHeight
|
|
212
213
|
}, /*#__PURE__*/_react.default.createElement(_recharts.LineChart, {
|
|
213
214
|
data: data.map(item => {
|
|
@@ -312,6 +313,7 @@ SingleBarLineCharts.defaultProps = {
|
|
|
312
313
|
showLegend: true,
|
|
313
314
|
legendData: [],
|
|
314
315
|
maxBarRange: 1,
|
|
316
|
+
showLineChart: true,
|
|
315
317
|
lineRange: 1,
|
|
316
318
|
lineFontSizeValue: '0.6em',
|
|
317
319
|
barFontSizeValue: '0.6em',
|