superset icon indicating copy to clipboard operation
superset copied to clipboard

[vis] x label is not shown

Open yileic opened this issue 9 years ago • 1 comments

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: xaxis

Steps to reproduce

yileic avatar Mar 29 '17 04:03 yileic

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

yileic avatar Mar 29 '17 04:03 yileic