[Bug] Tooltip options does not work for specific data regions
jgoncab-arte opened this issue · comments
Version
5.4.3
Link to Minimal Reproduction
Steps to Reproduce
- Create chart.
- Register map.
- Add geo options.
- Add series with type "map".
- Add regions in the geo options with;
tooltip: { show: false, extraCssText: "display: none;" }
Current Behavior
Tooltip options for an specfic region are not working. They are ignored.
Expected Behavior
I expect tooltip options for an specfic region to work. (https://echarts.apache.org/en/option.html#geo.regions.tooltip)
Environment
No response
Any additional comments?
If I remove the series the tooltip options work as expected.
If I remove the series the tooltip options work as expected.
yes, geo and map series are two layers on top of each other. When hovering Alaska you activate the map series tooltip, not the geo region tooltip. Use map.data.tooltip - Demo.
📌 please close issue if problem solved.