Bar chart (echart) does not show NULL values in categorical x-axis #31481
Labels
validation:validated
A committer has validated / submitted the issue or it was reported by multiple users
viz:charts:bar
Related to the Bar chart
Bug description
When creating a bar chart with categorical x-axis, NULL values are omitted from the resulting chart.
Data:
Bar chart fails to show NULL value:
Pie chart shows the correct data:
Expected behavior
NULL should be a series in the chart, as on the pie chart. In many cases it's valuable to know there are NULL values in the data. Users can always filter them out if desired.
If you wish to create the data table used here, you can run this Postgres statement:
Screenshots/recordings
No response
Superset version
4.0.2
Python version
I don't know
Node version
I don't know
Browser
Firefox
Additional context
I could find no relevant issues on GitHub or reports about this on Slack, which surprised me.
Checklist
The text was updated successfully, but these errors were encountered: