一些issue修改
This commit is contained in:
@@ -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轴添加单位后缀
|
||||
|
||||
Reference in New Issue
Block a user