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

Collaboration chart truncates long organization names #21

Open
larsxschneider opened this issue Oct 17, 2017 · 3 comments
Open

Collaboration chart truncates long organization names #21

larsxschneider opened this issue Oct 17, 2017 · 3 comments

Comments

@larsxschneider
Copy link
Collaborator

The collaboration chart truncates long organization names:
screen shot 2017-10-17 at 08 10 20

I see two ways to fix it:

  1. Pre-calculate how much space we need for the given organization names and adjust the chart margin accrodingly.

  2. Visualize organizations names somewhat differently. Maybe something like this:

@pluehne
Copy link
Contributor

pluehne commented Oct 24, 2017

I would be in favor of the second approach 😃. This would make the size calculations more predictable (at least the height of the entire chart would have a maximum value that we could compute), helping with a responsive/mobile-friendly version in particular.

As another alternative, we could ellipsize names after a certain length and show the full names upon hovering the labels or chunks.

@larsxschneider
Copy link
Collaborator Author

Then let's go with the second approach 👍

@pluehne
Copy link
Contributor

pluehne commented Oct 30, 2017

Okay 😃. I’d still suggest ellipsizing the names should the labels flow outside the available width.

Aside from that, I’m still thinking about how to render the collaboration chart on mobile devices, where the available horizontal space is extremely limited. But maybe this shouldn’t be our immediate focus.

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

2 participants