Make sure these boxes are checked before submitting your issue - thank you!

- [x ] I have checked the superset logs for python stacktraces and included it 
here as text if any
- [x ] I have reproduced the issue with at least the latest released version of 
superset
- [x ] I have checked the issue tracker for the same issue and I haven't found 
one similar

Superset does not represent null values as 0 on timeseries charts.
Related to: https://github.com/apache/incubator-superset/issues/5427

For the dataset:
Date: Value
Jan 1: 10
Jan 3: 7


### Superset version
026.3

### Expected results
For the above data set, Superset should draw 3 points on the chart:
Jan 1 = 10
Jan 2 = 0
Jan 3 = 7

### Actual results
The Timeseries - Line Chart and Timeseries - Bar Chart will not graph "missing" 
records from the query. 

Line Chart: 
- If the date range begins at Jan 1, it will draw and then connect the points 
for Jan 1 and Jan 3, making the relationship between the two dates look linear.
- If the date range begins before Jan 1, the first value on the x-axis will be 
Jan 1, ignoring previous dates.

Bar Chart:
- Behaves similarly to the line chart, except "null" values will have no bar.
- The only bars drawn will be for Jan 1 and Jan 3 and presented directly next 
to each other.

- This is visually deceptive, as it inaccurately displays relationships between 
timeseries values.

### Steps to reproduce
See above examples



[ Full content available at: 
https://github.com/apache/incubator-superset/issues/5888 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to