Multiple tooltips with different trigger type
See original GitHub issueWhat problem does this feature solve?
For my line chart I need to show two types of tooltips. One on hover on exact point(like with trigger item) and another on hovering any other place (like trigger axis). Below issue was raised for same but closed without proper response https://github.com/apache/incubator-echarts/issues/4905
What does the proposed API look like?
tooltip: [{
trigger: 'axis',
formatter: axisTooltipFormatter
},{
trigger: 'item',
formatter: itemTooltipFormatter
}]
Or
{
tooltip: {
trigger: 'axis',
formatter: axisTooltipFormatter
},
series[{
...
tooltip: {
formatter: itemTooltipFormatter // item trigger
}
]
Issue Analytics
- State:
- Created 4 years ago
- Comments:18 (2 by maintainers)
Top Results From Across the Web
Multiple tooltips with different trigger type #11115 - GitHub
For my line chart I need to show two types of tooltips. One on hover on exact point(like with trigger item) and another...
Read more >How to set different trigger attribute for multiple tooltip in the ...
The tooltips appear on all stacks and points of the line chart triggered by mouse actions: 'focus' (mouse on the target), 'selection' (on...
Read more >Tooltips - Bootstrap
You may pass multiple triggers; separate them with a space. 'manual' indicates that the tooltip will be triggered programmatically via the .tooltip('show') ,...
Read more >Multiple tooltip triggers - Angular, Vue, React ... - jQWidgets
The reason I want to do this is because of mobile devices. Seeing that there's no hover for someone using a touch-device, it...
Read more >Tooltipster - The jQuery Tooltip Plugin - GitHub Pages
Hover Default settings; Click Custom open/close triggers; Hover HTML, side, ... boolean, Allows you to put several tooltips on a single element (see...
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
Hello @Ovilia, I see the version is now 5.2.2, has this been implemented? Or has the roadmap changed?
a simple ‘split’ option to split the tooltip for each individual series… is very helpful when analyzing multiple line charts