[Feature] markLine在用户缩放场景下 无法实时更新宽度
Open
Nobody has claimed this yet.
feature
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
What problem does this feature solve?
在甘特图中我应该如何获取准确的宽度?markLine的样式定义中只能设置固定的宽度,但是当用户缩放之后 最新宽度如何更新呢?
What does the proposed API look like?
markLine的样式支持 函数式定义,或者提供其他方式来更新
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 by tracing the markLine style definition and the gantt chart's user-zoom update path. Determine how the current fixed width is applied and how a functional style or another update mechanism could receive the latest width; done means markLine width updates accurately after zooming and the proposed API behavior is covered by tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, frontend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100