VisActor / VisActor/VTable

[Feature] markLine在用户缩放场景下 无法实时更新宽度

Open
#5,158 1 comment 0 reactions 0 assignees View on GitHub

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的样式定义中只能设置固定的宽度,但是当用户缩放之后 最新宽度如何更新呢?

Image
What does the proposed API look like?

markLine的样式支持 函数式定义,或者提供其他方式来更新

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.