🐛 [BUG] 堆叠柱状图总计在筛选图例后不会自动更新
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
### 🐛 Bug description
堆叠柱状图总计在无任何筛选条件的情况下,展示如下

当进行图例筛选后,总计数值不会根据筛选条件进行更新

### 📷 Step to reproduce
官方示例:https://g2plot.antv.vision/zh/examples/column/stacked#annotation-label
点击右侧图例进行筛选
### 🏞 Expected result
当用户点击图例进行筛选后,总计数值可重新计算,并展示在柱状图顶端

### 🚑 Any additional
* **G2Plot Version**: 2.4.16
* **Platform**: Google Chrome 101.0.4951.54(正式版本) (64 位)
Contributor guide
Research direction
Start with the official stacked-column annotation-label example linked in the issue and reproduce the problem by clicking a legend item. Trace how legend filtering affects the displayed total annotation; done means the total is recalculated and shown at the top of the stacked column after filtering.
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
- Mostly clear
- Newbie friendliness
- 48/100