Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: legend overlaps chart when names are very long #4852

Open
arikfr opened this issue Apr 30, 2020 · 1 comment
Open

Bug: legend overlaps chart when names are very long #4852

arikfr opened this issue Apr 30, 2020 · 1 comment

Comments

@arikfr
Copy link
Member

arikfr commented Apr 30, 2020

Here's an example:
https://redash-preview.netlify.app/queries/373/source#647

You can see how it looks like when the names aren't long:
https://redash-preview.netlify.app/queries/373/source#648

Possible solutions:

  1. Can we put a maximum size on the legend and cut the names past this value?
  2. Can we detect this and switch to legend below chart as we do when the space given to the chart is too small?

Also, somewhat related: how hard will it be to expose the control over the legend position (left/bottom) to the user?

Screenshots

Bad

Screen Shot 2020-04-30 at 08 05 10

Good

Screen Shot 2020-04-30 at 08 05 28

@susodapop
Copy link
Contributor

I added screenshots for quick reference.

Is this related to #3879 and #3975?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants