Skip to content

Plot.tip should support textOverflow #2321

@Fil

Description

@Fil
Contributor

Currently, textOverflow is ignored in tips that use key/value pairs formatting. (It's appied only in the case where the tip is specified with the title channel).

Image
Plot.tip(
  [
    {
      what: "A long long long long long long long long long long long long way home",
      textOverflow: "ellipsis-middle"
    }
  ],
  { x: "what" }
).plot()

Activity

self-assigned this
on May 13, 2025
added
bugSomething isn’t working
on May 13, 2025
added theissue type on May 13, 2025
added a commit that references this issue on May 13, 2025
ab6d46c
linked a pull request that will close this issue on May 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn’t working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

    Development

    Participants

    @Fil

    Issue actions

      Plot.tip should support textOverflow · Issue #2321 · observablehq/plot