ngx-charts icon indicating copy to clipboard operation
ngx-charts copied to clipboard

tooltip position on PieChart Doughnut

Open zecka opened this issue 4 years ago • 1 comments

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 tooltip-position

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.

zecka avatar Aug 03 '20 08:08 zecka

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.

ezeqduarte avatar Jan 04 '24 15:01 ezeqduarte