sag_components 2.0.0-beta92 → 2.0.0-beta93
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.
package/dist/index.esm.js
CHANGED
|
@@ -33320,7 +33320,8 @@ const TwoBarCharts = props => {
|
|
|
33320
33320
|
referenceLinePoint,
|
|
33321
33321
|
referenceLineColor,
|
|
33322
33322
|
referenceLineDashed,
|
|
33323
|
-
showTooltip
|
|
33323
|
+
showTooltip,
|
|
33324
|
+
tooltipText = ""
|
|
33324
33325
|
} = props;
|
|
33325
33326
|
const controlsContainerRef = useRef();
|
|
33326
33327
|
const displayFormattedValue = value => {
|
|
@@ -33341,7 +33342,7 @@ const TwoBarCharts = props => {
|
|
|
33341
33342
|
if (!active || !payload || payload?.length === 0) return null;
|
|
33342
33343
|
let currentTooltipValue = 0;
|
|
33343
33344
|
if (payload[0].payload?.value) currentTooltipValue = payload[0].payload?.value;
|
|
33344
|
-
return /*#__PURE__*/React$1.createElement(TooltipDiv, null, /*#__PURE__*/React$1.createElement(TooltipTitle, null, `${label}`), /*#__PURE__*/React$1.createElement(TooltipLabel, null, `${displayFormattedValue(currentTooltipValue)}`));
|
|
33345
|
+
return /*#__PURE__*/React$1.createElement(TooltipDiv, null, /*#__PURE__*/React$1.createElement(TooltipTitle, null, `${label}`), /*#__PURE__*/React$1.createElement(TooltipLabel, null, `${tooltipText} ${displayFormattedValue(currentTooltipValue)}`));
|
|
33345
33346
|
};
|
|
33346
33347
|
const CustomizedTickBarChart = props => {
|
|
33347
33348
|
const {
|