antvis / antvis/G2Plot

🤔 [QUESTION] 设置状态量 active 触发的不是interactions的样式?

Open
#3,114 2 comments 0 reactions 0 assignees View on GitHub
Question
Dominant language
TypeScript
Stars
2.7k
Forks
591
PR merge metrics
No merged PRs in 30d

Description

为一个图表设置
```
interactions: [
{type: 'element-active'},
{type: 'pie-statistic-active'}
]
```
但我使用setState设置状态量 active 并没有触发 pie-statistic-active ?

Contributor guide

Open the contributing guide

Research direction

Reproduce the chart using the shown interactions configuration and the setState call, then trace how the active state reaches element-active and pie-statistic-active. Done means confirming whether pie-statistic-active is expected to respond to setState and documenting the explanation or the specific behavior that needs correction.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data-visualization
Issue type
Bug
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.