一些issue修改

This commit is contained in:
付民康
2025-03-21 11:00:56 +08:00
parent 3ebb19cbb4
commit f097f76da1
7 changed files with 19 additions and 13 deletions

View File

@@ -36,7 +36,12 @@ const options = (x: any, y: any, color = '#2070F3') => {
},
xAxis: {
type: 'category',
data: x
data: x,
axisLabel: {
interval: 0, // 强制显示所有标签
rotate: 45, // 如果标签过长,可以旋转标签
fontSize: 12 // 调整字体大小
}
},
yAxis: {
// 给y轴添加单位后缀