observablehq / observablehq/plot
the default tip sometimes goes in the wrong direction
Open
@Fil is already working on this.
Since Mar 6, 2024.
bug
- Dominant language
- HTML
- Stars
- 5.4k
- Forks
- 244
- PR merge metrics
- No merged PRs in 30d
Description
This example, given by @mootari, where the right-most tip should have been chosen to anchor right:
Plot.rectX([1, 1, 1, 1, 1], {
x: Plot.identity,
fill: Plot.indexOf,
title: () =>
"Lorem ipsum lorem ipsum lorem ipsum Lorem ipsum lorem ipsum lorem ipsum Lorem ipsum lorem ipsum lorem ipsum",
tip: true
}).plot({ height: 100, marginTop: 20 })
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.