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

Text should contribute to autorange calculations #2000

Closed
RedShift1 opened this issue Sep 13, 2017 · 4 comments
Closed

Text should contribute to autorange calculations #2000

RedShift1 opened this issue Sep 13, 2017 · 4 comments
Labels
feature something new

Comments

@RedShift1
Copy link

When drawing a scatter plot with
{ mode: 'lines+markers+text', fill: 'tonexty' }
or
{ mode: 'lines+markers+text', fill: 'tozeroy' }

the text of the first point and the last point is cut off:

plotly_filled

JSFiddle: https://jsfiddle.net/sd7drgph/

@alexcjohnson alexcjohnson changed the title Text is cut off on the first and last point of a filled scatter plot Text should contribute to autorange calculations Sep 13, 2017
@alexcjohnson alexcjohnson added the bug something broken label Sep 13, 2017
@alexcjohnson
Copy link
Collaborator

Known issue but doesn't look like we have an issue for it - thanks for bringing this up @RedShift1

I was going to suggest cliponaxis: false #1861 (your leftmost text item would overlap the tick labels but at least would be visible) but I notice that has problems with date axes... another bug report coming :)

@alexcjohnson
Copy link
Collaborator

Merging #2001 -> ensure our solution works for both scatter and bar traces.

@etpinard etpinard added feature something new and removed bug something broken labels Mar 29, 2019
@etpinard
Copy link
Contributor

This would be a nice addition post #2704

@gvwilson
Copy link
Contributor

Hi - this issue has been sitting for a while, so as part of our effort to tidy up our public repositories I'm going to close it. If it's still a concern, we'd be grateful if you could open a new issue (with a short reproducible example if appropriate) so that we can add it to our stack. Cheers - @gvwilson

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

No branches or pull requests

5 participants