apache / apache/echarts

[Feature] Per-item border color

Open
#20,909 1 comment 0 reactions 0 assignees View on GitHub
en new-feature pending
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

Current color options for series:
- `itemStyle.color` is defined as a `Color` or `Function` which allows for per-item coloring based on data.
- `itemStyle.borderColor` is only a `Color`.

This means you cannot currently change the border color per item, which is needed for e.g. outlined bars with a white fill.

### What does the proposed API look like?

Make `itemStyle.borderColor` match the API for `itemStyle.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.