Authored by 鲁尚清

性能走势图增加x轴拖拽

... ... @@ -101,7 +101,7 @@
margin-top:20px;
}
.detail_linechart {
height: 400px !important;
height: 450px !important;
}
.line-filter-content{
display: flex;
... ...
... ... @@ -226,7 +226,7 @@ export default {
intervalGroup:checkedId.value,
keys:keysVal
}
proxy.$http.get(`/api-web/cm-data-range/loadPerformanceCustom`, params, function (res) {
proxy.$http.get(`/api-web/cm-date-range/loadPerformanceCustom`, params, function (res) {
emit('callbacksure',res)
})
}
... ...
... ... @@ -230,7 +230,7 @@ export default {
top: '10%',
left: '3%',
right: '4%',
bottom: '3%',
bottom: '15%',
containLabel: true
},
toolbox: {
... ... @@ -279,6 +279,16 @@ export default {
}
}
},
// x轴拖动
dataZoom: [
{
type: "slider",
realtime: true, //拖动滚动条时是否动态的更新图表数据
height: 25, //滚动条高度
start: 40, //滚动条开始位置(共100等份)
end: 65 //结束位置(共100等份)
}
],
series:series.value
};
}
... ...