antvis / antvis/G2Plot

🐛 [BUG]漏斗图meta formater不生效

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

Description

### 🐛 Bug description [Please make everyone to understand it]
`meta.formater`在折线柱状等图中都是正常的, 在XY轴取值的时候都会取formater处理之后的值. 但是在漏斗图中, 只有图例会取formater之后的值

> Please provide a link by forking these links [G2Plot](https://codesandbox.io/s/g2plot-issue-template-gzfdq?file=/index.ts) or GitHub repo, a minimal reproduction.

* _Required_ **Link to minimal reproduction**:
https://codesandbox.io/s/bitter-shape-puoz1o?file=/index.ts
### 📷 Step to reproduce
![图片](https://user-images.githubusercontent.com/30228406/168010460-58dfeaa0-f6e8-4eca-b9fd-87062b8f2e42.png)

### 🏞 Expected result

### 🚑 Any additional [like screenshots]

* **G2Plot Version**:
* **Platform**:

Contributor guide

Open the contributing guide

Research direction

Start with the linked CodeSandbox minimal reproduction and compare the funnel chart's handling of meta.formater with the line and column chart examples described in the issue. Trace how funnel data values and labels are formatted, then verify that the formatted value appears wherever the reproduction expects it, not only in the legend.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.