当线条颜色和区域颜色不一致时,出现两个标注
- Dominant language
- JavaScript
- Stars
- 8k
- Forks
- 637
- PR merge metrics
- No merged PRs in 30d
Description
The issue which is not created via https://antv-issue-helper.surge.sh will be closed immediately.
---
chart.area()
.position('time*tem')
.color('l(90) 0:#1890FF 1:#f7f7f7')
.shape('smooth');
chart.line()
.position('time*tem')
.color('red') <-------------------------------
.shape('smooth');
chart.render();
chart.area()
.position('time*tem')
.color('l(90) 0:#1890FF 1:#f7f7f7')
.shape('smooth');
chart.line()
.position('time*tem')
.color('blue')<-------------------------------
.shape('smooth');
chart.render();
注意:不是用 https://antv-issue-helper.surge.sh 创建的 issue 会被立即关闭。
Contributor guide
Research direction
Start by running the provided chart.area(), chart.line(), and chart.render() reproduction in F2. Trace how the area and line color settings are converted into annotations or legend entries, then verify that using different colors does not create two annotations for the same data. The issue does not name a source file or test to run.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100