Screenshot
Superset 3.1.3 view:
Superset 4.1 view:
Description
When filters are updated, the chart background briefly resets to blank, causing noticeable flashing on dashboards during data exploration. This issue is particularly evident for charts using auto-refresh, as they continue to blink on every refresh cycle—even when there are no new data updates.
Comment From: dosubot[bot]
I found a similar open issue related to charts initially displaying blank and only showing values after a refresh. The suggested solution involves ensuring proper resizing and rendering of the Chart
component, refreshing charts properly, and handling chart status correctly in the chartReducer
[1].
This might be relevant to the issue you're experiencing with the chart background resetting to blank during data retrieval in Superset 4.1. You can try implementing these changes to see if they help resolve the regression you're encountering.
To continue talking to Dosu, mention @dosu.
Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other
Comment From: rusackas
This is an interesting one.... while I can absolutely see your point that the prior behavior is more desirable from an aesthetic/annoyance perspective, the current behavior seems more "truthful" in that obsolete data (where your filter has not been applied) can not be misconstrued as current/truthful. The only data displayed is that which has the filter(s) applied.
I could go either way on this, though. Curious what @kasiazjc @mistercrunch @kgabryje @michael-s-molina @villebro think about this one.