[Bug] 同时配置polar的radius选项和angleAxis的startAngle、endAngle,会导致angleAxis的startAngle、endAngle被覆盖
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
### Version
5.6.0
### Link to Minimal Reproduction
option = { tooltip: {}, angleAxis: { type: 'category', startAngle:180, endAngle:360, // data: ['S1', 'S2', 'S3'] }, radiusAxis: {}, polar: { center: ['50%', '40%'], radius: [60, 170], }, series: [ { type: 'bar', polarIndex: 0, data: [1, 2, 3], coordinateSystem: 'polar' } ] };
### Steps to Reproduce
option = {
tooltip: {},
angleAxis: {
type: 'category',
startAngle:180,
endAngle:360,
// data: ['S1', 'S2', 'S3']
},
radiusAxis: {},
polar: {
center: ['50%', '40%'],
radius: [60, 170],
},
series: [
{
type: 'bar',
polarIndex: 0,
data: [1, 2, 3],
coordinateSystem: 'polar'
}
]
};
### Current Behavior
同时配置polar的radius选项和angleAxis的startAngle、endAngle选项导致整个极坐标的endAngle失效,出现完整的极坐标系
### Expected Behavior
保留所设置的angleAxis的开始和结束,只是更改整个极坐标系的半径
### Environment
```markdown
- OS:
- Browser:
- Framework:
```
### Any additional comments?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.