[Feature] [甘特图] 需要支持emptyTip
Open
Nobody has claimed this yet.
bug
good first issue
- Dominant language
- TypeScript
- Stars
- 3.7k
- Forks
- 486
- Avg merge
- 1d 19h
- Merged PRs (30d)
- 16
Description
Version
1.12.0
Link to Minimal Reproduction
https://visactor.io/vtable/demo/gantt/gantt-basic
Steps to Reproduce
taskListTable配置项如下:
taskListTable: {
emptyTip: {
text: '暂无数据',
icon: {
image: assets['table/no_result'],
width: 100,
height: 100,
},
}
},
Current Behavior
表现如下图所示:
Expected Behavior
能正常展示甘特图高度
Environment
- OS:
- Browser:
- Framework:
Any additional comments?
No response
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
Open the linked Gantt basic demo and reproduce the issue with the shown taskListTable.emptyTip configuration. Trace the Gantt empty-state rendering and height calculation; it is done when the emptyTip text and icon display without preventing the Gantt chart from getting its expected height.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100