🤔请问如何给一个多折线趋势图的每一种颜色添加一个渐变色?
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
请问如何给一个多折线趋势图的每一种颜色添加一个渐变色?

目前官方文档给的只有针对一种颜色的,比如单折线图,像多折线图的话通过color应该设置不了,但是通过下面这种又无法设置多种颜色,现在有办法将多种颜色与颜色渐变结合吗?
area: {
style: {
fillOpacity: 0.15,
fill: 'l(270) 0:#ffffff 1:#1890ff',
},
},
Contributor guide
Research direction
The issue names a multi-line chart and the area.style.fillOpacity and fill settings, but no repository file or test entry point. Start by locating the multi-line chart and area-style documentation or examples, then check whether per-series gradient colors are supported. Done means confirming a workable configuration or defining the needed behavior clearly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100