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

Direct labels on bar chart not fully visible #4244

Closed
popes01a opened this issue Oct 2, 2019 · 1 comment
Closed

Direct labels on bar chart not fully visible #4244

popes01a opened this issue Oct 2, 2019 · 1 comment

Comments

@popes01a
Copy link

popes01a commented Oct 2, 2019

Hi,

I’ve recently changed the Plotly/Dash app I’m currently working on to display the numbers on the chart, instead of relying solely on hover information. This works great most of the time, but there is an edge case that I seem to run into more and more often recently.

Sometimes, the numbers are slightly off screen and you can’t see the actual value, unless you hover over. But the issue still exists if you want to download the chart as a PNG for example.

Screenshot from 2019-09-23 15-59-32

I’ve put an example together here using Plotly JS: https://codepen.io/andrap/pen/yLBZybm

Is there a way to force the labels to be contained within the visible graph display area?

Thanks,
Andra

@etpinard
Copy link
Contributor

etpinard commented Oct 2, 2019

Duplicate of #2000

@etpinard etpinard marked this as a duplicate of #2000 Oct 2, 2019
@etpinard etpinard closed this as completed Oct 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants