Support line breaks in axis labels
Open
Nobody has claimed this yet.
enhancement
- Dominant language
- JavaScript
- Stars
- 10.5k
- Forks
- 463
- PR merge metrics
- No merged PRs in 30d
Description
Axis labels are drawn using ctx.fillText, which apparently does not support line breaks. It would be nice if uPlot could work around this automatically.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by locating the axis-label rendering path that calls ctx.fillText and determine how labels containing line breaks are currently handled. Done means axis labels display their line breaks automatically without disrupting existing label rendering.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100