apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
59.72k stars 19.57k forks source link

tooltip feature on 'Area' in Area charts . #17584

Open RahulVishK opened 1 year ago

RahulVishK commented 1 year ago

What problem does this feature solve?

when we hover mouse on area chart area of line chart tool tip is not coming ![Uploading Screenshot (98).png…]()

What does the proposed API look like?

tool tip should be coming even if we hover on area

Ovilia commented 1 year ago

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.

JackRobards commented 1 year ago

It looks like this is also related to issue 12751

keyonvandenelzen commented 3 months ago

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).