Incubator-superset: Tooltip box too small for some charts

Created on 27 Nov 2019  路  8Comments  路  Source: apache/incubator-superset

For the area charts in the dashboard I'm working on, the tooltip box size doesn't match the contents and the text overflows (image attached).

Expected results

Tooltip to render properly

Actual results

Screen Shot 2019-11-26 at 4 26 45 PM

How to reproduce the bug

Make an area chart with long series values

Environment

(please complete the following information):

  • superset version: master
  • python version: 3.6
  • node.js version: 8.6

Checklist

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 there are 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.
#bug .frontend

All 8 comments

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

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

I can't see the top blacked-out text, but I'm curious if adding some CSS to that element, i.e. word-break: break-word; might be enough.

That might be enough, or maybe making the box itself bigger

The long game will be deprecating NVD3... but that's another story. :)

I'll tackle this one... @etr2460 / @mistercrunch feel free to assign to me.

This is merged into master now, closing

Was this page helpful?
0 / 5 - 0 ratings