.textline remains when window size gets large
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 18.3k
- Forks
- 2k
- Avg merge
- 2d 12h
- Merged PRs (30d)
- 28
Description
Hi, thank you for the great library.
I use the pie chart with responsive: true for the graph configuration, and I've noticed that when the window size gets small, the label would be shown outside of the arc with .textline lines:

And then the window size gets large again, .textline lines remains even when they are not necessary anymore:

I think it is not an intended thing which '.textline' lines are remaining.
It can be reproduced on this codepen with resizing the preview window.
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.
Research direction
Start with the linked CodePen and reproduce the pie-chart behavior by resizing its responsive preview window. Trace how the .textline labels are created and updated during resize; done means lines shown at a small size are removed when the window grows and they are no longer needed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization, frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100