rusackas opened a new pull request, #43201: URL: https://github.com/apache/superset/pull/43201
### SUMMARY #43152 got squash-merged at its first commit's SHA, so the second commit (the actual crash fix) never landed on `master`. This PR carries that commit forward, rebased cleanly on current `master`. Two real bugs, both from following up on the Bubble example's viz_type migration: - `Bubble/transformProps.ts` set `xAxis.interval` at the axis level instead of nesting it under `xAxis.axisLabel.interval`. `interval` on the axis itself forces echarts' `IntervalScale` (numeric-tick mode), which crashes for a non-numeric x-axis - i.e. every real `bubble_v2` chart. Added a regression test (there was none before). - The `Life_Expectancy_VS_Rural` example's `time_range` pointed at 2014, which has zero non-null `SP_DYN_LE00_IN` data in this dataset - the chart rendered with no bubbles even once the crash was fixed. Moved it to 2011, which has real data. ### TESTING INSTRUCTIONS Load examples, open the "Life Expectancy VS Rural %" chart in `world_health` - it should render bubbles instead of crashing/showing empty. `npm run test -- transformProps.test.ts` under `plugin-chart-echarts` for the regression test. ### ADDITIONAL INFORMATION - [ ] Has associated issue: - [ ] Required feature flags: - [x] Changes UI - [ ] 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: [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]
