Closed SinGlEBW closed 2 months ago
I'm afraid the target demo is too broad for our scope of support.
Please consider providing a scaled down version with just the relevant code.
This issue is stale because it has been open 30 days with no activity. It will be closed in 5 days unless a new comment is added.
The error is that if you use a tooltip outside the chartContainer container and then create it separately, the tooltip loses its position relative to the element it belongs to.
If you use resize windows or ckick by slice, the tooltip is set to the correct position
"@amcharts/amcharts5": "^5.9.13", "react": "^18.3.1", "react-dom": "^18.3.1"
GoogleChrome: Version 126.0.6478.127 (Официальная сборка), (64 бит)
https://stackblitz.com/edit/vitejs-vite-mofybj?file=src%2FPieByCategory%2FPieByCategory.tsx
The solution was found by me using an adapter: "pointTo"