Skip to content

[Bug] 设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding不生效 #18681

@yangxiuy

Description

@yangxiuy

Version

5.4.2

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=multiple-y-axis

Steps to Reproduce

nameGap: 20,
nameTextStyle: {
padding: [0,-80,0,0], // 当设置了nameRotate,修改padding不生效
},
nameRotate: -90,

Current Behavior

在上面链接的实例中,设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding不生效

Expected Behavior

设置了yAxis. nameRotate后 yAxis.nameTextStyle. padding依然生效

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpendingWe are not sure about whether this is a bug/new feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions