prosdev0107 opened a new pull request #18947:
URL: https://github.com/apache/superset/pull/18947


   ### SUMMARY
   [chart viz][Time-series bar chart v2] chart will shrink when input customize 
X AXIS TITLE MARGIN
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   Before
   ![Screenshot at Feb 25 
08-51-11](https://user-images.githubusercontent.com/47900232/155726580-517f3e88-d48f-4851-b12d-001c62317f49.png)
   After
   ![Screenshot at Feb 25 
08-49-54](https://user-images.githubusercontent.com/47900232/155726604-0225bf93-76c1-4c44-b84b-d62d2efe6312.png)
   This issue happens because that the custom margin value of x & y axis title 
is string value.
   And so I fixed the issue by converting them from string to number value.
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [ ] 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]

Reply via email to