You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by "inctl (via GitHub)" <gi...@apache.org> on 2026/07/29 23:03:19 UTC
[I] Time-Series Gap Filling in Superset: Apply Resampling to the Entire Target Period [superset]
inctl opened a new issue, #42587:
URL: https://github.com/apache/superset/issues/42587
### Bug description
### Apply Resampling to the Entire Target Period
Superset version: 4.1.2 and 6.1.0
## Requirement:
I need to be able to view an area or bar chart in which missing data points are set to 0.
I have set a time granularity and enabled “Resample to zero” for the time axis.
However, the resampling only applies between two data points.
## Case
If I have only one data point per day, I end up with a bar that spans the entire day.
I want all hourly data points to be set to 0.
Since version 6.1.0, I’ve noticed that by setting a JSON echart with this value, the result is correct.
But I can’t make the start and end values dynamic.
```
{
"xAxis": {
"min": "2026-07-01 00:00:00",
"max": "2026-07-02 00:00:00"
}
}
```
## Conclusion
It would be helpful if this were handled by default with the resample.
And if possible, to have an auto-resample aligned with the time granularity, allowing the time granularity filter to be used in a dashboard.
One solution you could suggest is to include Jinja templating in the ECharts JSON configuration.
We could then set the start and end dates there.
But it's still best to have the start and end dates set correctly from the beginning.
Thank you advance,
### Screenshots/recordings
_No response_
### Superset version
6.1.0
### Python version
3.11
### Node version
I don't know
### Browser
Chrome
### Additional context
_No response_
### 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.
- [x] 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: notifications-unsubscribe@superset.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Time-Series Gap Filling in Superset: Apply Resampling to the Entire Target Period [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas closed issue #42587: Time-Series Gap Filling in Superset: Apply Resampling to the Entire Target Period
URL: https://github.com/apache/superset/issues/42587
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Time-Series Gap Filling in Superset: Apply Resampling to the Entire Target Period [superset]
Posted by "AadityaAnand (via GitHub)" <gi...@apache.org>.
AadityaAnand commented on issue #42587:
URL: https://github.com/apache/superset/issues/42587#issuecomment-5126185836
Can you assign this to me if open?
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Time-Series Gap Filling in Superset: Apply Resampling to the Entire Target Period [superset]
Posted by "rusackas (via GitHub)" <gi...@apache.org>.
rusackas commented on issue #42587:
URL: https://github.com/apache/superset/issues/42587#issuecomment-5126978121
We don't really do assignments @AadityaAnand - just open a PR targeting this issue if you want to be first to tackle it.
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Time-Series Gap Filling in Superset: Apply Resampling to the Entire Target Period [superset]
Posted by "inctl (via GitHub)" <gi...@apache.org>.
inctl commented on issue #42587:
URL: https://github.com/apache/superset/issues/42587#issuecomment-5128069683
We have high expectations regarding this issue.
Example:
Data :
<img width="871" height="947" alt="Image" src="https://github.com/user-attachments/assets/f02483dd-3ae6-4dfb-88bf-0e259e981ecb" />
Charts result without echart json object :
<img width="2260" height="407" alt="Image" src="https://github.com/user-attachments/assets/a1fbb634-cff8-416b-9bae-878328c16a19" />
------------------------------------------------------------------------------------------------------------------------------------------------------------
Data :
<img width="890" height="974" alt="Image" src="https://github.com/user-attachments/assets/40910e75-205f-403c-89b5-2519bb25be8b" />
Echart json object :
```
{
"xAxis": {
"min": "2026-01-12 00:00:00",
"max": "2026-01-13 00:00:00"
}
}
```
Charts result without echart json object :
<img width="2245" height="381" alt="Image" src="https://github.com/user-attachments/assets/32448d8a-7785-4d14-9a53-0d7fd58d9770" />
------------------------------------------------------------------------------------------------------------------------------------------------------------
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org
Re: [I] Time-Series Gap Filling in Superset: Apply Resampling to the Entire Target Period [superset]
Posted by "AadityaAnand (via GitHub)" <gi...@apache.org>.
AadityaAnand commented on issue #42587:
URL: https://github.com/apache/superset/issues/42587#issuecomment-5136821805
Okay Ill take a look @rusackas @inctl
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org