diff --git a/src/views/exa/HistoryLine.vue b/src/views/exa/HistoryLine.vue index 82cb8e0..2a15960 100644 --- a/src/views/exa/HistoryLine.vue +++ b/src/views/exa/HistoryLine.vue @@ -108,6 +108,7 @@ watch( }, title: title.value, + toolbox: { feature: { dataZoom: { @@ -174,6 +175,10 @@ watch( type: 'slider', start: 0, end: 100, + // ✅ 显示趋势的关键 + showDataShadow: true, + // 缩放条高度 + height: 30, }, // 没有下面这块的话,只能拖动滚动条, // 鼠标滚轮在区域内不能控制外部滚动条