dosubot[bot] commented on issue #33105:
URL: https://github.com/apache/superset/issues/33105#issuecomment-2798069167

   <!-- Greeting -->
   Hey @fzhengTT! I'm [Dosu](https://dosu.dev), a bot here to help you with 
bugs, answer questions, and guide you on your journey to becoming a 
contributor. I'm ready to assist while you wait for a human maintainer. Let's 
tackle this together!
   
   <!-- Answer -->
   A similar issue was previously reported in [GitHub issue 
#31318](https://github.com/apache/superset/issues/31318), which discussed 
problems with the Y-axis sorting logic and rendering of zero values in the 
heatmap chart. This issue was closed with a fix provided in [PR 
#31752](https://github.com/apache/superset/pull/31752) 
<sup>[[1]](https://github.com/apache/superset/issues/31318)</sup>.
   
   For the Y-axis sorting, the logic is defined by the `sort_y_axis` control, 
which allows sorting either alphabetically or based on metric values in 
ascending or descending order 
<sup>[[2]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/plugin-chart-echarts/src/Heatmap/controlPanel.tsx)</sup>.
 If the sorting is not behaving as expected, it might be worth checking if the 
correct sorting option is selected.
   
   Regarding the rendering of zero values, the heatmap chart handles null or 
empty values based on the `considerMissingDataAsZero` option. If this option is 
set to `true`, missing data points are treated as zero values, which might 
affect how zero values are rendered 
<sup>[[3]](https://github.com/apache/superset/blob/master/superset-frontend/plugins/legacy-plugin-chart-calendar/src/vendor/cal-heatmap.js)</sup>.
   
   If the issue persists despite these configurations, it might be related to 
the specific fork or version you are using.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   
   ---
   <sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/b720d1f6-62ba-4b81-a2d4-3e4922d7343c?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/b720d1f6-62ba-4b81-a2d4-3e4922d7343c?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/b720d1f6-62ba-4b81-a2d4-3e4922d7343c?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/b720d1f6-62ba-4b81-a2d4-3e4922d7343c?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/b720d1f6-62ba-4b81-a2d4-3e4922d7343c?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/b720d1f6-62ba-4b81-a2d4-3e4922d7343c?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/b720d1f6-62ba-4b81-a2d4-3e4922d7343c?feedback_type=other)</sup>
   


-- 
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