echarts: Multiple tooltips with different trigger type
What 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
}
]
About this issue
- Original URL
- State: open
- Created 5 years ago
- Comments: 18 (2 by maintainers)
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
Why is this closed exactly?
This would be a nice feature