[Feat]: 增加 document 相关 API
Open
feature 💡
OSCP
- Dominant language
- TypeScript
- Stars
- 12.6k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
### Describe the feature / 功能描述
1. 通过 chart 实例获取 G 的 document
2. 文档中增加 G 的 document 的相关 API 和使用
3. 渲染画布中的元素,classname 都要规范使用
可以解决大量自定义场景,通过数据去筛选过滤出元素,获取元素的位置、监听元素的事件,然后做一些自定义绘制或者操作。

### Are you willing to contribute? / 是否愿意参与贡献?
✅ Yes / 是
Contributor guide
Research direction
Start by locating how a chart instance exposes G's document and review the existing API documentation. Then identify the documentation and rendering-classname areas mentioned in the issue. Done means the document access and usage are documented, and rendered elements use consistent classnames.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization, documentation
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100