apexcharts / apexcharts.js

📊 Interactive JavaScript Charts built on SVG
https://apexcharts.com
MIT License
14.05k stars 1.28k forks source link

Improper spacing b/n tooltip and axis when inverted tooltip appears #4479

Closed SHVM-09 closed 1 month ago

SHVM-09 commented 1 month ago

Description

There is an issue with the positioning of the inverted tooltip in the chart. The space between the tooltip and the axis is not consistent when comparing the inverted and non-inverted states.

Steps to Reproduce

To illustrate the issue, here are some screenshots from the demo:

Screenshot 2024-05-21 at 12 41 53 PM Screenshot 2024-05-21 at 12 43 47 PM Screenshot 2024-05-21 at 12 45 29 PM

Expected Behavior

The spacing between the axis and the tooltip should be consistent, regardless of whether the tooltip is inverted or not.

Please provide a solution to ensure consistent spacing, so I can implement it in my project seamlessly.

~Awaiting response!

brianlagunas commented 1 month ago

Did not provide the required reproduction app.

Hypher commented 1 month ago

https://codepen.io/pgpp/pen/ZENeLpv Compare last three tooltips