Closed Mijago closed 7 years ago
I've made some modifications in the demo http://gallery.echartsjs.com/editor.html?c=xHyHQDKmLx&v=2, where tooltip settings are added to each series that needs `trigger: 'axis'. It seems to work, although there is some work to do to improve the trigger behavior.
This feature has been supported in v3.5.
How is it supported exactly? How can I use both a tooltip for the axis, as well as a different one when I hover over individual items?
I also need this behaviour for my line chart to show tooltips with triggers axis(hover on chart) and item(hover on exact point). I am using echars version 4.2.1. @100pah I don't think this issue was raised for showing different tooltips for different series. It is to show different tooltips one on hover on point, and another on hover any other place.
It is not currently supported.
One-line summary [问题简述]
Creating two independend Tooltips with different triggers in ONE chart instance.
Version & Environment [版本及环境]
Expected behaviour [期望结果]
I need one tooltip for the scatter chart that triggers on item, and one tooltip that triggers on axis (for the second xAxis and yAxis).
The problem: If I add a tooltip that triggers on axis, it fires also in the scatter chart. Is there any option to limit a tooltip to one axis without splitting the second diagram out of the chart instance (into another)?
ECharts option [ECharts配置项]
Other comments [其他信息]
http://gallery.echartsjs.com/editor.html?c=xHyHQDKmLx&v=1