Skip to content

X Axis Label的interval设为0时,x轴最后一个label变成粗体 #10304

@brookshi

Description

@brookshi

Version

4.2.1

Steps to reproduce

option = {
"xAxis": {
"type": "category",
"data": ["水电费撒旦", "这一行为什么会变粗"],
"axisTick": {
"show": false
},
"axisLabel": {
"fontSize": 14,
"fontWeight": 'normal',
"interval": 0,
"rotate": 0,
}
},
"yAxis": {
"type": "value",
},
"series": [{
"data": [2, 3],
"type": "bar",
"name": "水电费",
}, {
"data": [3, 4],
"type": "bar",
"name": "大师傅",
}]
}

What is expected?

X轴字体正常

What is actually happening?

X轴最后一个文本字体变粗

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions