-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hovering offset in minimal layout #147
Comments
That is a bug with ApexCharts's library. I'll need to check if it has been fixed in the latest version which has been published some days ago. |
@RomRider Any update on this? |
I can't update to the latest version of ApexCharts.js because there's another bug way more annoying which has been introduced, so unfortunately not. |
Any update on this? This issue is still present. When investigating this I found it happens as soon as you disable the grid in one way or another. A workaround I've used is setting the gridColor to be transparent: ...
apex_config:
grid:
borderColor: "rgba(0,0,0,0)"
xaxis:
labels:
show: false
axisBorder:
show: false
axisTicks:
show: false
tooltip:
enabled: false
... |
I believe I'm running into this as well. Hovering is offset and I have to hover on the left side to see the tooltip for the final value on the right side: ScreenShot-2023-01-22.mov |
Checklist
Describe the bug
When using a column chart with minimal layout the hover area for the different bars get moved to the right. Hovering above a bar basically selects the one to the left.
The value displayed there isn't from the highlighted bar but from the one to the left. (also visible by the vertical line there)
The same also happens if you set
but I suppose the same code is used internally with minimal.
It happens on both mobile and desktop and with Chrome and Firefox.
Version of the card
Version: v1.8.2
To Reproduce
This is the configuration I used:
Screenshots
Expected behavior
Hovering over an element should not be offset.
Desktop (please complete the following information):
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: