GitHub user dosubot[bot] added a comment to the discussion: How to add a new chart type in superset version 4.1.1?
<!-- Answer --> Legacy NVD3 charts in Superset do not support cross-linking (cross-filtering) and do not expose a public method like `setDataMask` for implementing cross-linked filtering. The transformProps for these charts only provides limited hooks such as `onAddFilter` and `onBrushEnd` for time range selection, but not for general cross-filtering between charts. The main visualization code (`NVD3Vis.js`) does not reference `setDataMask` or any mechanism for emitting cross-filter events, and the plugins are marked as deprecated and use the legacy API, which lacks support for interactive dashboard behaviors like cross-linking. If you need cross-filtering, consider migrating to modern chart types such as ECharts or plugin-based charts, which are designed with these features in mind [see code details](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/legacy-preset-chart-nvd3/src/transformProps.js) [plugin metadata](https://github.com/apache/ superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/plugins/legacy-preset-chart-nvd3/src/Bubble/index.js). <!-- 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/8cbf0e37-f423-4444-be46-9d5f31b39970?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/8cbf0e37-f423-4444-be46-9d5f31b39970?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/8cbf0e37-f423-4444-be46-9d5f31b39970?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/8cbf0e37-f423-4444-be46-9d5f31b39970?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/8cbf0e37-f423-4444-be46-9d5f31b39970?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/8cbf0e37-f423-4444-be46-9d5f31b39970?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/8cbf0e37-f423-4444-be46-9d5f31b39970?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-14250922 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
