@@ -635,6 +635,17 @@ const dealerOptionNew = {
},
xAxis: {
type: 'category',
+ axisLabel: {
+ rotate: 30, // 设置标签倾斜45度
+ // fontSize: 12, // 减小字体大小
+ interval: 0, // 显示所有标签
+ // 可选:限制标签宽度并截断
+ width: 80,
+ overflow: 'truncate',
+ // 可选:设置标签的对齐方式
+ margin: 20,
+ fontWeight: 'bold' // 设置字体加粗
+ }
yAxis: {
type: 'value'