Ability to show/hide mouseover tooltip via API
See original GitHub issueIt would be great to be able to show and hide tooltips via a C3 API call. Something like chart.tooltip.show()
, 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: http://vimeo.com/27541490 at about 1:05
Issue Analytics
- State:
- Created 9 years ago
- Comments:8 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
does this feature work on donut and or pie charts, if so how.
Is it somehow possible to show/hide tooltip that I created through API tooltip.contents - not the default one?