impaktapps-design 0.2.993-alpha.242 → 0.2.993-alpha.243
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.
|
@@ -22541,7 +22541,7 @@ const DrawStackBarLineGraph = ({
|
|
|
22541
22541
|
const defaultColour = (_j = (_i = (_h = theme == null ? void 0 : theme.myTheme) == null ? void 0 : _h.palette) == null ? void 0 : _i.primary) == null ? void 0 : _j.main;
|
|
22542
22542
|
const yAxisTickCount = (_k = stackBarLineValue == null ? void 0 : stackBarLineValue.main) == null ? void 0 : _k.yAxisTickCount;
|
|
22543
22543
|
const disableLeftLabel = (_l = stackBarLineValue.main) == null ? void 0 : _l.disableLeftLabel;
|
|
22544
|
-
const
|
|
22544
|
+
const tooltipUnit = (_m = stackBarLineValue == null ? void 0 : stackBarLineValue.main) == null ? void 0 : _m.tooltipUnit;
|
|
22545
22545
|
const trendColor = (_n = colorMap == null ? void 0 : colorMap[growthRateKey]) != null ? _n : "#E24B4A";
|
|
22546
22546
|
const isSmallScreen = width2 < 600;
|
|
22547
22547
|
const longestLabelLength = useMemo(() => Math.max(...chartData.map((d2) => String(d2[xAxisValue]).length)), [chartData, xAxisValue]);
|
|
@@ -22833,7 +22833,7 @@ const DrawStackBarLineGraph = ({
|
|
|
22833
22833
|
color: "#454444",
|
|
22834
22834
|
fontWeight: 600
|
|
22835
22835
|
},
|
|
22836
|
-
children: [tooltipData[key],
|
|
22836
|
+
children: [tooltipData[key], tooltipUnit]
|
|
22837
22837
|
})]
|
|
22838
22838
|
}, key);
|
|
22839
22839
|
})
|