Skip to content

Scatter3d right textalignment overlaps points #2871

Closed
@jonmmease

Description

@jonmmease

One of two issues reported in plotly/plotly.py#1055

CodePen: https://codepen.io/anon/pen/qyKLLe

For a scatter3d trace, setting the textposition property to "middle left" causes the text to be displayed nicely to the left of the points:

screen shot 2018-08-04 at 6 58 36 am

Setting the property to "middle right" causes the text to overlap the associated point:

screen shot 2018-08-04 at 6 58 56 am

It looks like the text alignment is correctly changed, but an offset is needed to push the text anchor to the right. The 2D scatter trace does not have this issue.

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions