-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Heatmap: val
attribute in apexcharts-heatmap-rect
svg rects is incorrect; breaks legend hover
#4054
Comments
Further testing seems to indicate this is may be caused by this
If this is removed or set to |
This was referenced May 20, 2024
This was referenced May 26, 2024
This was referenced Jun 2, 2024
This was referenced Jun 17, 2024
This was referenced Jun 20, 2024
This was referenced Jun 28, 2024
This was referenced Jul 5, 2024
This was referenced Jul 13, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
I noticed that hovering over the legend produced strange results across color ranges. After some exploration, I found that the hover ranges are created using the value of the SVG rectangle. Then, I noticed that the SVG rect values in the first and last rows of the grid appear to be swapped.
Steps to Reproduce
val
of attribute of cells in the first row ("Sunday"), are actually the values for the last row of data ("Saturday")Expected Behavior
The value
val
of attribute of cells in the first row ("Sunday"), are the values for the first row of data ("Sunday")Actual Behavior
The value
val
of attribute of cells in the first row ("Sunday"), are actually the values for the last row of data ("Saturday")Screenshots
Buggy hover:
Compare the first row (Sunday) to the last row (Saturday):
All other rows (like Wednesday, for example) are correct:
Reproduction Link
https://codepen.io/dangrussell/pen/BavMbXN
The text was updated successfully, but these errors were encountered: