Skip to content

Text should contribute to autorange calculations #2000

Description

@RedShift1

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/

Activity

  1. changed the title [-]Text is cut off on the first and last point of a filled scatter plot[/-] [+]Text should contribute to autorange calculations[/+] on Sep 13, 2017
  2. alexcjohnson commented on Sep 13, 2017

    @alexcjohnson
    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 :)

  3. alexcjohnson commented on Sep 13, 2017

    @alexcjohnson
    Collaborator

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

  4. added and removed
    bugsomething broken
    on Mar 29, 2019
  5. etpinard commented on Jul 25, 2019

    @etpinard
    Contributor

    This would be a nice addition post #2704

  6. gvwilson commented on Jun 10, 2024

    @gvwilson
    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

  7. emilykl commented on Sep 15, 2025

    @emilykl
    Contributor

    still an issue

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions