[Bug]: Gridline plugin scale now works with zoom correctly but still when we do graph.fitView() the grid moves incorrectly
- Dominant language
- TypeScript
- Stars
- 12.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the bug / 问题描述
The Gridline plugin now does zoom when the 'zoom-canvas' happens. Yet when I execute fitView() method - the grid moves incorrectly, maybe it is because of the scale, I dont know. Could you help us please, maybe at least with some advise
### Reproduction link / 复现链接
_No response_
### Steps to Reproduce the Bug or Issue / 重现步骤
Use gridline plugin
Do fitView()
### Version / 版本
Please select / 请选择
### OS / 操作系统
- [x] macOS
- [x] Windows
- [ ] Linux
- [ ] Others / 其他
### Browser / 浏览器
- [x] Chrome
- [ ] Edge
- [ ] Firefox
- [ ] Safari (Limited support / 有限支持)
- [ ] IE (Nonsupport / 不支持)
- [ ] Others / 其他
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the gridline plugin and the graph.fitView() entry point, then reproduce the issue using the listed steps in a graph with the plugin enabled. Trace how zoom-canvas scaling and fitView update the grid, and verify that the grid remains correctly aligned after fitView.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100