是使用 data-view 的 source 来重新设置新的数据吗?
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- data-visualization
Research direction
Start by reading the source and transform entry points referenced in the issue, then inspect any existing tests covering repeated data updates and connector reuse. Determine whether a new data value can reuse the existing connector and transforms, or whether another update method is intended; document or test the confirmed behavior.
Written by the indexing model from the issue text.
Description
像下面这样初始化的时候已经设置了 connector, transform:
dv.source(data, {
type: 'topojson',
});
dv.transform({
type: 'filter',
callback(row) {
return row.Run !== "1";
}
});
如果我此时有新的 data, 可以重新使用 source 方法设置数据, 这时候会重新用原来的 transform 的来处理一遍新数据。
但是依旧需要在 souce 方法中提供 connector 配置, 这个 connector 有必要在重新传进去吗? 按我的理解是应该复用, 虽然传进去也没什么问题。
或者有什么其他用来设置新的数据的方法?
- Dominant language
- TypeScript
- Stars
- 251
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from antvis/data-set
-
来个好心人提取 transform 到 单独 npm包 ?May be free again A pull request for this issue was closed without being merged. Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
-
Difficulty 3/5 1-2 days Newbie friendliness 30/100
-
会支持webworker吗Open
Difficulty 5/5 Over a week Newbie friendliness 15/100
Similar issues
-
by: ai-assisted frontend good-for: new-member spike
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Northeastern-Electric-Racing/Argos#847 ·
Maintainers usually reply within 4 days
-
Difficulty 1/5 1-3 hours Newbie friendliness 84/100
SignalK/freeboard-sk#990 ·
Maintainers usually reply within 1 day
-
[missing-inheritance] audit review (1 preset)Possibly taken @github-actions claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 82/100
osmberlin/tagging-schema-browser#363 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Albert-Weasker/niubigeo#205 ·
Maintainers usually reply within 1 day
-
area/frontend area/v2 kind/bug priority/needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
kubeflow/notebooks#1498 · 1 comment ·
Maintainers usually reply within 1 day