Skip to content

Comparison lines labels overlap when space is limited #6267

Description

@paarriagadap

Description

When there are several comparison lines, labels can overlap when they are too close together. This is even more noticeable with mobile views.

Expected behaviour

Labels should not overlap, either by having a different positioning or by showing the text in multiple lines.

Steps to reproduce

Steps to reproduce the behavior:

  1. Go to this article on a mobile device/mobile mode on desktop.
  2. See the third Grapher chart embedded (Romania's fertility rate increased dramatically following strict restrictions on abortion)
  3. You will see that the first two labels overlap

Screenshots

Compare the same view in desktop and mobile

Desktop Mobile
Image Image

Additional context

Slack

Activity

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

Metadata

Metadata

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions