swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular
https://swimlane.github.io/ngx-charts/
MIT License
4.28k stars 1.15k forks source link

Tooltip on pie chart is getting delayed to be shown #1523

Open CsibiNorbert opened 3 years ago

CsibiNorbert commented 3 years ago

Describe the bug Once the page is loaded with the pie chart, if you hover over a segment, the tooltip displays almost instantly. After a few minutes of moving the mouse over different segments, the tooltip is delayed and shown after a couple of seconds.

To Reproduce Steps to reproduce the behavior:

  1. add the host element for the pie chart to your page <ngx-charts-pie-chart (activate)="onActivate($event)" [view]="view" [scheme]="colorScheme" [results]="data" [doughnut]="true" [arcWidth]="arcWidth" [tooltipDisabled]="false" (select)="onSelect($event)"> </ngx-charts-pie-chart>

  2. Hover over the different segments, and notice gradually how the tooltip is delayed to be shown

Expected behavior When hovering over the segments, the tooltip should be displayed almost instantly for each segment, even if there was a couple of minutes passed after the project is running.

Screenshots N/A

Demo N/A

ngx-charts version "@swimlane/ngx-charts": "^14.0.0"

Additional context N/A

bgBond commented 3 years ago

Same problem here.