swimlane / ngx-charts

:bar_chart: Declarative Charting Framework for Angular

Home Page:https://swimlane.github.io/ngx-charts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ngx-tooltip-content - Rendered in last chart on the screen - Specifying Alternative Render Locations?

owlyowl opened this issue · comments

Background
We have a scenario where we have multiple charts on a given screen in a dashboard type arrangement.

On clicking on a button we open a dialog with a bigger version of the chart inside.

When we close the dialog the chart instance inside the dialog is destroyed and we're in our dashboard view again.

Because the ngx-tooltip-content element gets appended to the last instance of the ngx-chart in the DOM when the dialog chart is destroyed the tooltips on the charts underneath no longer work.

We're looking at forking and arranging the tooltip outside the last chart instance but I was wondering if there were any plans/fixes for this people have found?