You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2019/01/11 17:56:28 UTC

[GitHub] mistercrunch commented on issue #6631: Truncate long labels in x axis

mistercrunch commented on issue #6631: Truncate long labels in x axis
URL: https://github.com/apache/incubator-superset/pull/6631#issuecomment-453602496
 
 
   I agree we need to truncate, though we may want to have a way for users to see the long string. I'm not sure but maybe `<text title="{notTruncated}">{truncated}</text>` would work out of the box in SVG. Otherwise a combo of this and `d3tip` maybe. All this ideally only where `notTruncated !== truncated` to avoid bloating the dom with dup info.
   
   Also 24 seems like a decent choice, but is arbitrary. If we are to fully truncate the info and not have it available on hover, we may want to parameterize it...

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org