VisActor / VisActor/VTable

[Feature] [甘特图] 需要支持emptyTip

Open
#3,042 0 comments 0 reactions 0 assignees View on GitHub

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

表现如下图所示:
img_v3_02hd_3b3b10ca-639a-4230-874e-3e9a24c25fbg

Expected Behavior

能正常展示甘特图高度

Environment
- OS:
- Browser:
- Framework:
Any additional comments?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.