apache / apache/echarts

[Feature] Controlling visibility of Gauge Start/End labels

Open
#19,979 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?

When having a 360 gauge, the start/end labels overlap. There is no option to prevent such overlap or ability to hide one of them.

https://echarts.apache.org/examples/en/editor.html?c=gauge&code=PYBwLglsB2AEC8sDeAoWsDOBTAThLGAXLANprrLkWxgCeIWxA5AOYCGAri1kwDRUUMYNjjABBaCwA2jWAAZ-1dFmgATCdNkBmAGwKB6ALYRoxABxnFSw2wAexAIwB2J1eoYQUiGAByHQwBGuI5uFHYQGAAybEFSxKhKFABmMGAAyhAAXtr6iegp0GAA6lgQLAAWYMwBwFKqTAawAL6h6KpswsRkeZQ96ABubFIcsgCsco3oTY0AugLT6HNNANxAA

### What does the proposed API look like?

```js
option = {
series: [
{
type: 'gauge',
axisLabel: {
edgeLabels: 'start' // 'start' | 'end' | 'both' | 'none'
}
}
]
}
```

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.