echarts
echarts copied to clipboard
tooltip feature on 'Area' in Area charts .
What problem does this feature solve?
when we hover mouse on area chart area of line chart tool tip is not coming
What does the proposed API look like?
tool tip should be coming even if we hover on area
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.
It looks like this is also related to issue 12751
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).