impaktapps-design 0.2.78 → 0.2.79
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.
|
@@ -11786,7 +11786,7 @@ const DrawPieGraph = ({
|
|
|
11786
11786
|
const letter = ((_b2 = (_a2 = value == null ? void 0 : value.style) == null ? void 0 : _a2.pieStyle) == null ? void 0 : _b2.showPieLabel) ? arc2.data[arr[0]] : arc2.data[arr[1]];
|
|
11787
11787
|
const [centriodX, centriodY] = pie2.path.centroid(arc2);
|
|
11788
11788
|
const arcPath = pie2.path(arc2);
|
|
11789
|
-
const arcFill = getLetterFrequencyColor(
|
|
11789
|
+
const arcFill = getLetterFrequencyColor(arc2.data[arr[0]]);
|
|
11790
11790
|
return /* @__PURE__ */ jsxs("g", {
|
|
11791
11791
|
onMouseOut: hideTooltip,
|
|
11792
11792
|
onMouseOver: (e3) => handleMouse(e3, arc2.data),
|