ngx-charts
ngx-charts copied to clipboard
tooltip position on PieChart Doughnut
Describe the bug The tooltip position is strange on PieChart (doughnut) with custom tooltip template
To Reproduce Check demo link
Expected behavior Move tooltip near color active area.
Screenshots
Demo https://stackblitz.com/edit/pie-char-doughnut-strange-position
ngx-charts version ^10.1.0
Additional context Add any other context about the problem here.
I have the same issue when the doughnut option is active. When clicking on a color in the chart, the tooltip takes the position of the square that encloses the SVG, not the position of the drawn chart. This creates a misaligned view that is not expected.