echarts
echarts copied to clipboard
[Bug] Show Tooltip on top of the Chart container when the chart is inside another container
Version
5.3.3
Link to Minimal Reproduction
No response
Steps to Reproduce
- Open any chart, for ex. bar chart inside any other container
- Try to hover on any label and observe the tooltip behavior
- Tooltip is going behind the main container
Current Behavior
when we are hovering on the chart label, observed the tooltip is going behind the main container and not displaying completely as shown below

Expected Behavior
On hovering the tooltip it should be shown on top of everything so that label name is completely visible and tooltip isn't truncated inside the container
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
Is there any way/option in echarts where we can append tooltip to the html body and display the tooltip properly