关于gantt里程碑节点的渲染
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
希望通过甘特图实现一个效果,Sub_Tasks_Arrange显示模式,每个里程碑节点能够显示上下多行文本,一行上有多个里程碑节点
效果图如下:
目前通过各种尝试,存在以下几个问题,想咨询下能否有办法解决:
1、维度较大(如:月,季度,年),时间间隔较小的节点重叠,是否能自定义控制间隔时间进行换行显示?
2、节点上下文本显示问题,目前只能支持label,且label无法换行,无法同时上下各显示文本
3、自定义渲染,里程碑节点的范围被锁定为当前单元格,无法超出,上下文本无法完全显示
4、维度较大,自定义渲染里程碑节点widht过窄
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 reproducing the attached example in Gantt's Sub_Tasks_Arrange display mode and trace the existing milestone-node and custom-rendering entry points. Done should include non-overlapping milestone nodes, configurable wrapping for close intervals, multiline text above and below nodes, and sufficient width for custom-rendered content.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100