antvis / antvis/F2

如何定义多条折线图的颜色

Open
#1,339 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
8k
Forks
637
PR merge metrics
No merged PRs in 30d

Description

背景:多条折线图下,使用官方demo配置,color="线条类型字段"时,会显示默认颜色
e.g.
****

问题:如何修改配置,可以自定义线条颜色

Contributor guide

Open the contributing guide

Research direction

Start with the official Line demo and the color="city" configuration shown in the issue. Determine whether custom line colors are already supported and where the configuration is documented; done means a reproducible configuration or a documented limitation and example.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data-visualization
Issue type
Documentation
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.