antvis / antvis/F2

HTML模拟图例,点击事件可与折线图中的折线显隐联动

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

Description

- [ ] I have searched the [issues](https://github.com/antvis/f2/issues) of this repository and believe that this is not a duplicate.

### What problem does this feature solve?
能否用html模拟图例,点击元素后,能与折现图中的折线进行联动

### What does the proposed API look like?
点击自定义的元素(html模拟图例),调用api或者方法,控制折线图中的折线显示或者隐藏

Contributor guide

Open the contributing guide

Research direction

Start by reviewing F2's existing legend and line-chart APIs to determine how custom HTML elements could control series visibility. Define the public API or method for toggling a line from an external element, then verify that showing and hiding each line stays synchronized with the custom legend.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.