apache / echarts

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

[Feature] MarkLine tooltips are not shown when tooltip.trigger is axis #19203

Open Ale142 opened 8 months ago

Ale142 commented 8 months ago

Version

5.4.3

Link to Minimal Reproduction

https://codesandbox.io/s/stacked-line-chart-forked-jfpn79?file=/index.html

Steps to Reproduce

  1. Open the link
  2. When you hover on the MarkLine component, the tooltip is not displayed but only the ones of the line series

Current Behavior

When you hover on the MarkLine component, the tooltip is not displayed but only the ones of the line series

Expected Behavior

I expect the markLine to be shown even on markLine. This happens when you set the tooltip. trigger equal to item for example.

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

helgasoft commented 8 months ago

not-a-bug The Expected Behavior is not confirmed by the documentation. There is no statement saying that trigger: "axis" should output the same info as trigger: "item". Therefore you are asking for a new [Feature].

Nisgrak commented 1 month ago

Any news? I think this feature is relevant