superset icon indicating copy to clipboard operation
superset copied to clipboard

Data labels overlap with legend once again

Open wtfzambo opened this issue 7 years ago • 4 comments

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.

wtfzambo avatar Oct 30 '19 14:10 wtfzambo

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.

issue-label-bot[bot] avatar Oct 30 '19 14:10 issue-label-bot[bot]

👀

betodealmeida avatar Dec 02 '19 22:12 betodealmeida

Fixed in https://github.com/apache-superset/superset-ui-plugins/pull/283

betodealmeida avatar Dec 03 '19 23:12 betodealmeida

Facing the overlapping values issue in Superset Barchart Chart Type: Time Series Bar Chart (when showing bar values) Screenshot:
image

Superset version: 0.37.0

Please suggest any way to resolve this issue

Neel-rishabhsoft avatar Feb 23 '21 07:02 Neel-rishabhsoft