Incubator-superset: Data labels overlap with legend once again

Created on 30 Oct 2019  路  3Comments  路  Source: apache/incubator-superset

As described here #3779 and fixed last year by #6145, labels of tall bars overlap with the legend. However, the file modified by #6145 exists only until branch 0.27. Wasn't able to figure out which file to address to fix this in master, sorry.

Expected results

Bar labels and legend not overlapping.

Actual results

Bar labels overlapping with legend.

Screenshots

67417267-a7439800-f5c8-11e9-853f-48a6df86ad30

How to reproduce the bug

  1. Create some fake numeric data, can be all of the same values, just make them large enough (like an array of "1000").
  2. Create bar chart from this data, enable legend, enable bar values.
  3. Either already in the editor or after exporting to dashboard you'll see labels overlapping the legend.

Screenshot attached for reference anyway.

Environment

  • superset version: 0.34.1
  • python version: 3.7.3
  • node.js version: 10.16.0
  • npm version: 6.10.2

Checklist

  • [鉁揮 I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • [鉁揮 I have reproduced the issue with at least the latest released version of superset.
  • [鉁揮 I have checked the issue tracker for the same issue and I haven't found one similar.
    ^ Actually I have but it is 1 year old and the bug reappeared despite it being supposedly fixed in a previous version.
#bug

Most helpful comment

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

All 3 comments

Issue-Label Bot is automatically applying the label #bug to this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

馃憖

Was this page helpful?
0 / 5 - 0 ratings

Related issues

thoralf-gutierrez picture thoralf-gutierrez  路  3Comments

john-bodley picture john-bodley  路  3Comments

gbrian picture gbrian  路  3Comments

XiaodiKong picture XiaodiKong  路  3Comments

eliab picture eliab  路  3Comments