Sweet-KK opened a new issue, #16883:
URL: https://github.com/apache/echarts/issues/16883
### Version
5.3.2
### Link to Minimal Reproduction
_No response_
### Steps to Reproduce
```
option = {
legend: {
show: true,
right: '5%',
},
grid: {
containLabel: true,
right: 200,
left: 50,
bottom: 50,
top: 50
},
tooltip: [
{
trigger: 'axis'
}
],
xAxis: [
{
type: 'category',
data: ['2022/4/10', '2022/4/11', '2022/4/12', '2022/4/13', '2022/4/14']
}
],
yAxis: [
{
position: 'left',
type: 'value',
name: '求和1',
axisLine: {
show: true,
lineStyle: {
color: '#c23531'
}
}
},
{
position: 'right',
type: 'value',
name: '求和2',
axisLine: {
show: true
}
},
{
position: 'right',
type: 'value',
offset: 40,
name: '求和3',
axisLine: {
show: true
}
},
{
position: 'right',
type: 'value',
offset: 80,
name: '求和4',
axisLine: {
show: true
}
}
],
series: [
{
type: 'bar',
yAxisIndex: 0,
data: [100, 400, 500, 600, 700]
},
{
type: 'line',
yAxisIndex: 1,
data: [10, 40, 50, 60, 70]
},
{
type: 'bar',
yAxisIndex: 2,
data: [344, 230, 40, 450, 310]
},
{
type: 'line',
yAxisIndex: 3,
data: [100, 400, 500, 600, 700]
}
]
};
```
### Current Behavior
legend 没有显示出来
### Expected Behavior
正常默认是能够看到的,哪怕我不设置
### Environment
```markdown
- OS:macOS Monterey
- Browser: Chrome 100.0.4896.88
```
### Any additional comments?
_No response_
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]