apache / apache/echarts

[Feature] echarts支持在堆叠柱状图中为柱体设置圆角么

Open
#20,979 3 comments 0 reactions 0 assignees View on GitHub
new-feature topic: bar
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

文档中[带圆角的堆积柱状图demo](https://echarts.apache.org/examples/zh/editor.html?c=bar-stack-borderRadius)通过遍历数据算出需要圆角的元素,在隐藏部分图例时显示会出现问题(如下图)

Image

是否可以添加一个配置项(例如VCharts中的stackCornerRadius),能够更简单地配置整体圆角效果?

### What does the proposed API look like?

```typescript
interface BarSeriesOption {
stackCornerRadius: number | number[];
}
```

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.