apache / apache/echarts

[Feature] 折线图改变visualMap中颜色的话,如果是一条折线就是对象的话是没问题的,如果是两条或者以上的折线,visualMap这个修改成数组,后边的颜色会覆盖之前的,需求其实是各自的,不要互相干扰

Open
#20,457 3 comments 0 reactions 0 assignees View on GitHub
missing-demo new-feature pending waiting-for: author
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

[Feature] 折线图改变visualMap中颜色的话,如果是一条折线就是对象的话是没问题的,如果是两条或者以上的折线,visualMap这个修改成数组,后边的颜色会覆盖之前的,需求其实是各自的,不要互相干扰

### What does the proposed API look like?

折线图改变visualMap中颜色的话,如果是一条折线就是对象的话是没问题的,如果是两条或者以上的折线,visualMap这个修改成数组,后边的颜色会覆盖之前的,需求其实是各自的,不要互相干扰

Contributor guide

Open the contributing guide

Research direction

The issue concerns visualMap handling for line charts in Apache ECharts, but names no file, test, or entry point. Start by reproducing the case with multiple lines and visualMap as an array, then trace the TypeScript implementation. Done means each line retains its own configured colors without later entries overwriting earlier ones.

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
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.