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.

Ability to show/hide mouseover tooltip via API

See original GitHub issue

It would be great to be able to show and hide tooltips via a C3 API call. Something like, chart.tooltip.hide(). Each of those methods would then take a JSON object as its only parameter allowing the setting of the x-axis tooltip value to show/hide, position, and the particular dataset if tooltip grouping is turned off (with no parameters in .hide() meaning hide all).

It would enable developers an easy way to do something like what Datadog does in its time series charts where mousing over one chart also shows the same x-axis value of a different chart. A very important feature when comparing multiple charts that might have the same time range on the x-axis.

ref: at about 1:05

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

loubrevetticommented, Jun 21, 2016

does this feature work on donut and or pie charts, if so how.

aleksandarrcommented, Nov 2, 2016

Is it somehow possible to show/hide tooltip that I created through API tooltip.contents - not the default one?

Read more comments on GitHub >

github_iconTop Results From Across the Web

d3.JS tooltip doesn't hide on mouse out as expected, and ...
For both I want the user to able to mouse over them and see their values. Unfortunately my tooltip is not behaving as...
Read more >
Programmatic Control - Tooltip - Kendo UI for Angular - Telerik
In the component code, get the TooltipDirective instance through a @ViewChild property. Use the Tooltip API to show, hide, or toggle the Tooltip....
Read more >
Tooltip basics - jQuery TOOLS
Scripting API ; hide(), API, Hides the tooltip. ; isShown(fully), boolean, Returns true if the tooltip is visible. Since 1.2.0 you can supply...
Read more >
Show and Hide the Tooltip - DevExtreme - DevExpress
To show or hide the Tooltip programmatically, call the show() or hide() method. The same thing can be done using the toggle(showing) method....
Read more >
Controlling tooltips & pop-up menus with components in React
Next, this is using isOpen and style states to show/hide and position the tooltip component respectively. Also, it is required to pass the...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found