dosubot[bot] commented on issue #32835: URL: https://github.com/apache/superset/issues/32835#issuecomment-2750170340
<!-- Answer --> The issue you're experiencing with duplicate measures appearing when switching between chart types in Superset seems to be related to how the frontend handles measure persistence. Unfortunately, I couldn't find specific information in the repository about how Superset manages state for chart configurations or any known issues related to this behavior in version 4.1.1. However, Superset's frontend differentiates between chart types using plugins configured with unique keys for each visualization type. Each plugin is responsible for the specific configuration and rendering logic of its associated chart type <sup>[[1]](https://github.com/apache/superset/blob/master/superset-frontend/src/visualizations/presets/MainPreset.js)</sup>. This might be where the issue arises, as the state management for measures might not be correctly handled when switching between incompatible chart types like Line Chart and Waterfall Chart. To address this issue, you might want to investigate the frontend code responsible for managing chart configurations and see if there are any discrepancies in how measures are reset or duplicated when switching chart types. Additionally, checking for any recent updates or patches in the Superset repository that might address this issue could be helpful. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/48ed727d-b046-4ebe-beb3-6bcc8c29307a?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/48ed727d-b046-4ebe-beb3-6bcc8c29307a?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/48ed727d-b046-4ebe-beb3-6bcc8c29307a?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/48ed727d-b046-4ebe-beb3-6bcc8c29307a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/48ed727d-b046-4ebe-beb3-6bcc8c29307a?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/48ed727d-b046-4ebe-beb3-6bcc8c29307a?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/48ed727d-b046-4ebe-beb3-6bcc8c29307a?feedback_type=other)</sup> -- 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
