apache / apache/echarts

gauge chart "Rotate" feature for Detail label

Open
#17,705 7 comments 0 reactions 0 assignees View on GitHub
difficulty: easy en new-feature topic: gauge
Dominant language
TypeScript
Stars
67.3k
Forks
19.8k
Avg merge
11d 14h
Merged PRs (30d)
8

Description

### What problem does this feature solve?

![image](https://user-images.githubusercontent.com/97290751/192526436-f1da95cb-5ec1-40be-b49e-aeb90a9498a7.png)
option = {

series: [
{
name: 'Pressure',
type: 'gauge',
detail: {
offsetCenter:[0,150],
formatter: 'detail label',
rotate:90,//not working
},
data: [
{
value: 50,
name: 'SCORE'
}
]
}
]
};

### What does the proposed API look like?

![image](https://user-images.githubusercontent.com/97290751/192527469-1f6b17d7-c0af-4a5e-8c3f-1a8e1b8ca924.png)

detail label should be rotated

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.