propellerjet opened a new issue, #32591:
URL: https://github.com/apache/superset/issues/32591

   ### Bug description
   
   [nicholaslimck](https://github.com/nicholaslimck) have already mentioned in 
[31318](https://github.com/apache/superset/issues/31318) about the problem with 
y axis sorting in echarts heatmap, but the issue was closed and fix 
[31752](https://github.com/apache/superset/pull/31752) doesn't help.
   
   How to reproduce the bug:
   1. Create new echarts heatmap chart
   2. Choose columns for X and Y axis, some cells in heatmap should be empty. 
   
![Image](https://github.com/user-attachments/assets/c0acc8dc-4f51-4b7f-9bd0-efcdca6e4500)
   3. Result
   
![Image](https://github.com/user-attachments/assets/41144804-048a-4162-add1-fe2e4a069f58)
   
   Values from 1 to 5 should be above 6
   It seems that sorting calculation skipping y values where metric is null. It 
doesn't consider all range of values, only first x value.
   
   ### Screenshots/recordings
   
   More examples, when there are emplty values
   
![Image](https://github.com/user-attachments/assets/5cd6de8b-0e04-48b2-8ddd-380c6961a9ae)
   
   ### Superset version
   
   4.1.1
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   Legacy heatmap sorting works correctly 
   
![Image](https://github.com/user-attachments/assets/b4e56f83-6ac1-4ebd-a1ce-7ed7efb77ada)
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to