diff --git a/src/views/components/emoEnergyConverter.vue b/src/views/components/emoEnergyConverter.vue index e4a8e8c..286e30b 100644 --- a/src/views/components/emoEnergyConverter.vue +++ b/src/views/components/emoEnergyConverter.vue @@ -341,8 +341,9 @@ function initQXNLZHEcharts(kline, qxnlzhqData) { type: "category", data: mixData.map((item) => item.date), axisLabel: { - rotate: 45, // 日期旋转45度防止重叠 - color: "white" + rotate: 0, // 取消倾斜角度 + color: "white", + interval: 'auto' // 自动计算显示间隔,只显示部分日期但覆盖所有范围 }, axisLine: { // show: false, diff --git a/src/views/components/emotionalBottomRadar.vue b/src/views/components/emotionalBottomRadar.vue index 51f2d73..67d8a7f 100644 --- a/src/views/components/emotionalBottomRadar.vue +++ b/src/views/components/emotionalBottomRadar.vue @@ -335,8 +335,8 @@ function initEmotionalBottomRadar(KlineData, barAndLineData) { }, axisLabel: { color: 'white', - interval: 'auto', - rotate: 45 + interval: 'auto', // 自动计算显示间隔,只显示部分日期但覆盖所有范围 + rotate: 0 // 取消倾斜角度 }, splitLine: { show: false