Skip to content

Hover tooltip positioned wrong in stacked barchart when number of bar is 1 #2154

Closed

Description

@alexbyj

my macbook screen resolution : 1680x1050
browser: firefox 56.0.2 (64-bit)
reproducible jsfiddle link : https://jsfiddle.net/o9fc44pg/1/
used library : https://cdn.plot.ly/plotly-latest.min.js
Is there any limit of tooltip label character length?
screenshot
screen shot 2017-11-13 at 9 45 24 am

Activity

  1. added
    bug
    on Nov 13, 2017
  2. alexcjohnson commented on Nov 15, 2017

    @alexcjohnson
    Collaborator

    Thanks @alexbyj - specifically the problem here is with the centered label: when there isn't enough room to put the label either entirely to the right or entirely to the left of the object it's labeling, we center it; but the text is not positioned properly in this case. This situation doesn't arise very often, which is why it's not well tested I guess.

    Probably duplicate of #865

  3. added a commit that references this issue on Mar 5, 2018
  4. nishantlnmiit commented on Sep 24, 2020

    @nishantlnmiit

    I am also facing the same issue while using this with shiny ggplot2 library
    Please help me out.

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

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions