LisaHusband opened a new pull request, #34250: URL: https://github.com/apache/superset/pull/34250
### SUMMARY fix(chart): prevent duplicate measures when switching between Line and Waterfall charts This PR addresses an issue where duplicate measures were being added unexpectedly when switching between different chart types in Superset, specifically when switching from a Line Chart to a Waterfall Chart. The problem was caused by the lack of proper `formDataOverrides` handling in the Waterfall chart control panel configuration, which led to unexpected behavior in the form data during the chart type switch. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF <!--- Skip this if not applicable --> ### TESTING INSTRUCTIONS 1. Go to a dashboard or create a new one in Superset. 2. Add a chart (e.g., Line Chart) and verify the chart loads correctly without any duplicate measures. 3. Switch the chart type to a Waterfall Chart. 4. Verify that no duplicate measures are added after from Waterfall Chart switching back to the Line Chart. 5. Ensure the form data handling is correct, and no unwanted duplication occurs when switching back and forth between chart types. ### ADDITIONAL INFORMATION * [x] Has associated issue: #32835 * [ ] Required feature flags * [x] Changes UI: Yes, control panel behavior * [ ] Includes DB Migration * [ ] Introduces new feature or API * [ ] Removes existing feature or API -- 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-unsubscr...@superset.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@superset.apache.org For additional commands, e-mail: notifications-h...@superset.apache.org