This is not possible currently because tooltip triggers on either item or axis hovering. It may not easy to support this feature but I think this is useful. For now, you can try to use trigger: 'axis' to get a similar result.
The fact that the tooltip doesn't trigger on hovering the area under the line is understandable, but in my opinion it is inconsistent with the tooltip behaviour of other chart types (e.g. bar and pie).
3条答案
按热度按时间khbbv19g1#
This is not possible currently because tooltip triggers on either item or axis hovering. It may not easy to support this feature but I think this is useful. For now, you can try to use
trigger: 'axis'
to get a similar result.68bkxrlz2#
It looks like this is also related to issue 12751
rqenqsqc3#
Facing the same issue.
The fact that the tooltip doesn't trigger on hovering the area under the line is understandable, but in my opinion it is inconsistent with the tooltip behaviour of other chart types (e.g. bar and pie).