We're trying to integrate Github with Superset. In that, we have created some dashboards with charts. We're getting an issue with the calendar heatmap chart - a 0 is not getting coloured red
How to reproduce the bug
- Create a calendar heatmap chart from GitHub or any Github sort of data
- Open chart by clicking in charts tab or even in create chart section
- There is no actual error but as per chart settings cell data with '0' value should be colored with red but on the chart it's white in color (check the attached screenshot)
Expected results
Data with cell value '0' should be in red colour
Actual results
It's white in colour
Screenshots
Environment
(please complete the following information):
- browser type and version: Google chrome Version 97.0.4692.71 (Official Build) (x86_64)
- superset version:
1.3.2
- python version:
3.8
- any feature flags active: No
Checklist
Make sure to follow these steps before submitting your issue - thank you!
- [ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
- [ ] I have reproduced the issue with at least the latest released version of superset.
- [ ] I have checked the issue tracker for the same issue and I haven't found one similar.
Additional context
Also check chat on Slack - https://apache-superset.slack.com/archives/C016B3LG5B4/p1643075312076400
Comment From: stale[bot]
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned
to prevent stale bot from closing the issue.
Comment From: rusackas
Closing this since it didn't get any love for about a year now, and didn't get any traction on Slack either. @navnathedb if you're still facing this in 2.0.x we can re-open this. Ping me on Slack if you'd like, too. Hopefully it's magically solved by now... or if you've done any investigation, there's probably just some equality/range operator somewhere in the code that needs a tweak if you want to open a PR :)
Comment From: dineshws
Is there any plan to fix this? Because this issue is still there in Preset as we are using Preset. 0 should be considered as a valid value and should be treated as other valid values.
Comment From: adamcunnington-mlg
We were tripped up by this today too. Had to manually adjust our metric to be GREATEST(..., 0)
- silly!
Comment From: eszterszarka
This is still a really annoying issue, 0 is showing as a missing value