GitHub user dosubot[bot] added a comment to the discussion: How to add a new chart type in superset version 4.1.1?
<!-- Answer --> This is expected behavior in Superset 4.1.1. The waterfall chart is stateless and always renders the data returned by the backend, which is determined by the current filter state. When you use setDataMask to filter, the chart only receives and displays the filtered data and its corresponding total. Clearing the filter via setDataMask does not automatically trigger a new query for the original, unfiltered data—so the chart remains in a filtered state until you manually refresh the page or the dashboard triggers a full data reload. The plugin itself does not manage filter reset logic; it relies on the dashboard/container to handle filter clearing and data reloading ([source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/plugin-chart-echarts/src/Waterfall/transformProps.ts)). Cross-filtering and improved filter handling for waterfall charts are under development in open PRs, but these changes are not present in 4.1.1 ([source](https://github.com/apache/superset/pull/33146)). For now, to restore the original chart state after clearing filters, make sure the dashboard or parent container triggers a full data reload (for example, by using the clearDataMask action or refreshing the dashboard) ([source](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/dataMask/actions.ts)). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/95c9f400-ee58-495b-92aa-1b16d9c5ae58?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/95c9f400-ee58-495b-92aa-1b16d9c5ae58?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/95c9f400-ee58-495b-92aa-1b16d9c5ae58?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/95c9f400-ee58-495b-92aa-1b16d9c5ae58?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/95c9f400-ee58-495b-92aa-1b16d9c5ae58?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/95c9f400-ee58-495b-92aa-1b16d9c5ae58?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/95c9f400-ee58-495b-92aa-1b16d9c5ae58?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)& nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/34817) GitHub link: https://github.com/apache/superset/discussions/34817#discussioncomment-14261239 ---- This is an automatically sent email for notifications@superset.apache.org. To unsubscribe, please send an email to: notifications-unsubscr...@superset.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org