superset
superset copied to clipboard
[vis] x label is not shown
Make sure these boxes are checked before submitting your issue - thank you!
- [ ] 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
latest master branch
Expected results
In line chart, when x label is entered, the x label should be shown in the chart
Actual results
The x label is not shown, neither instantly nor after re-querying, as the following picture shows:

Steps to reproduce
Caused by the code commented as "// Hack to adjust margins to accommodate long axis tick labels." in nvd3_vis.js. The bottom margin in that part of code does not have room for the x axis text label. @ascott @mistercrunch