【MultiView】绘制多个gauge的时候,range的color显示有bug
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
- [ ] I have searched the [issues](https://github.com/antvis/g2plot/issues) of this repository and believe that this is not a duplicate.
### Reproduction link
[](https://codesandbox.io/s/g2plot-reproduction-template-forked-fc10u?file=/src/index.js)
### Steps to reproduce
打开我提供的demo链接,看见的是一个range 的 color 渲染有bug的仪表盘;按照我代码中注释写的,将MultiView中后两个gauge注释掉,看见的就会是一个range的color渲染正确的仪表盘。
| Environment | Info |
|---|---|
| g2plot | 2.3.15 |
| System | mac |
| Browser | chrome |
Contributor guide
Research direction
Start with the linked CodeSandbox reproduction, specifically src/index.js, and compare the MultiView containing all gauges with the version where the last two gauges are commented out. Trace the range-color rendering difference and verify the range colors remain correct when multiple gauges are present.
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