superset
superset copied to clipboard
fix(plugin-chart-echarts): gauge chart enhancements and fixes
SUMMARY
This PR improves mainly the gauge chart:
- include enhancements from https://github.com/apache-superset/superset-ui/pull/1070
- improve codebase
- fix the problem of the gauge chart getting cut off.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
before
https://user-images.githubusercontent.com/11830681/183301626-c0d0aa24-2730-4e2a-a5b3-339462285a47.mov
after
https://user-images.githubusercontent.com/11830681/183301594-4aee61d1-dd98-4ee0-bfc9-44393449a225.mov
TESTING INSTRUCTIONS
ADDITIONAL INFORMATION
- [ ] Has associated issue:
- [ ] Required feature flags:
- [ ] Changes UI
- [ ] Includes DB Migration (follow approval process in SIP-59)
- [ ] 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