antvis / antvis/F2

@antv/f2 5.0.3版本如何初始化显示 tooltip以及如何通过tooltip的onChange设置legend

Open
#1,875 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
637
PR merge metrics
No merged PRs in 30d

Description

1. 5.0.3版本如何获取chart实例?官网文档找不到相关介绍
2. 初始化显示 tooltip以及如何通过tooltip的onChange设置legend,只在3.0版本的文档中看到相关介绍,但其中很多api都显示已废弃。那么在最新版的组件中如何去使用?

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the F2 5.0.3 chart-instance, tooltip, and legend API entry points and compare them with the 3.0 documentation; done means documenting the current initialization and onChange usage for the latest component.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.