apache / apache/echarts

折线图能不能动态隐藏每一小段折线或者动态修改每一小段折线的颜色?

Open
#14,239 14 comments 0 reactions 0 assignees View on GitHub
discussion-required FAQ new-feature pending topic: line
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

比如 series-line.itemStyle. color 可以是一个函数,于是就可以动态修改每一个折线点的颜色。能不能让series-line.lineStyle. color 也可以是一个函数,这样就能动态修改每一小段折线的颜色,或者将它隐藏起来。

### What does the proposed API look like?
series-line.lineStyle. color 可以是一个函数,能动态修改每一小段折线的颜色,或者将它隐藏起来。

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.