superset icon indicating copy to clipboard operation
superset copied to clipboard

How to set the fonts on the X axis no rotate and in center

Open luciuschina opened this issue 9 years ago • 1 comments

Make sure these boxes are checked before submitting your issue - thank you!

  • [X] I have checked the superset logs for python stacktraces and included it here as text if any
  • [X] I have reproduced the issue with at least the latest released version of superset
  • [X] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version

0.18.5

Expected results

Set the fonts in the dist_bar no rotate and in center

Actual results

I can set the fonts in the dist_bar no rotate, but the fonts not in center

Steps to reproduce

I use the CSS template to change the style,and add text { transform: rotate(0)!important; } can dispaly the fonts horizontal. but the fonts not in center. I have tested many CSS styles, but it doesn't work ! Who can help me, very appreciated. 2

luciuschina avatar Jul 31 '17 09:07 luciuschina

https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-anchor

mistercrunch avatar Aug 02 '17 05:08 mistercrunch