justinpark opened a new pull request, #24850: URL: https://github.com/apache/superset/pull/24850
### SUMMARY In legacy charts, there's some logic mutating chartData which also corrupt the original raw data. This makes the invalid chart results specially in the staced chart which sums up the series values for the chart data. This commit makes the copy of the rawData value to avoid the corruption. ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF After:  https://github.com/apache/superset/assets/1392866/c42bcb63-3bf1-40fa-bec3-8ef4fb9b751d Before:  https://github.com/apache/superset/assets/1392866/dca32a6e-a0dc-43d4-8125-3a0a01c9eb7f ### TESTING INSTRUCTIONS - Create a area chart - set stacked - choose a Y A-axis format like `.3s` ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Required feature flags: - [ ] Changes UI - [ ] Includes DB Migration (follow approval process in [SIP-59](https://github.com/apache/superset/issues/13351)) - [ ] Migration is atomic, supports rollback & is backwards-compatible - [ ] Confirm DB migration upgrade and downgrade tested - [ ] Runtime estimates and downtime expectations provided - [ ] 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: [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]
