question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Tooltip disappears when updating (bar) chart

See original GitHub issue

Bug report

Codepen

https://codepen.io/stealthmate/pen/OJMBVaW

Explanation

  • What is the behavior you expect?

If, after updating the series, the mouse is still over a bar (or the respective element for other chart types), the tooltip should get updated as well instead of simply disappearing. I’m working on a 100% stacked chart that gets updated every second. The ratios stay mostly the same and I want the user to be able to see the real values when mousing over. I can do this with a formatter, however the problem is that whenever the chart updates, the tooltip disappears and that defeats its purpose.

In the codepen above, there’s the bottom part of the chart (series named const) that stays relatively the same each second, but when I mouse over it the tooltip only appears until the next update, and I want it to be shown continuously.

Having a stacked chart in the

  • What is happening instead?

Tooltip disappears and you have to move the mouse to display it again.

  • What error message are you getting?

None.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
yohainnncommented, Feb 1, 2022

same here, this issue makes the library a pretty bad solution for realtime data

1reaction
auoacommented, Nov 21, 2020

I figured out, that just clicking the chart without moving the mouse lets the tooltip re-appear. Thus, I tried something like this.$refs.apexchart1.$el.click(); in the context of Vue. However, this did not work for me. Any suggestions on how this can be solved? It is not necessary to solve this inside Apex Charts, a workaround would already meet my requirements.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tooltip disappears after disabling and re-enabling ...
The first run of your code shows a tooltip because <b-table> initially contains the #HeaderFirst element. When you uncheck the First Name box, ......
Read more >
Tooltip disappears - Tableau Community
Using a Tableau Server extract data source, I have a simple horizontal bar viz that uses a table calc for the % of...
Read more >
Item Tooltip content disappears too early - Telerik Forums
Just try to move the mouse into the tooltip content. You will notice that the content/popup disappears before you can get over to...
Read more >
Tooltips are not showing on Line Chart
Solved: I have a line chart visual in my report with 5 data fields under the Tooltips well. When I filter my report...
Read more >
Cursor tooltip disappears | WPF Chart Forums - SciChart
At a guess, I think your tooltip is too large for the screen, so SciChart tries to place it, but cannot (there is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found