fix: 曲线图功能优化,放大全屏显示优化。

This commit is contained in:
tianyongbao
2026-01-19 11:19:51 +08:00
parent 8084b705a6
commit 02f4f6ecd8
5 changed files with 223 additions and 185 deletions

View File

@@ -726,6 +726,11 @@ const props = defineProps({
required: true,
default: 1,
},
// 公告弹窗是否打开
noticeOpen: {
type: Boolean,
default: false,
},
});
const pondDeviceRes = ref<any>();
const emit = defineEmits(["getPondInfo", "getRes", "render", "addDevice"]);
@@ -1419,7 +1424,7 @@ function createCharts(x, series, ids) {
animation: true,
background: "#FFFFFF",
color: ["#17B4B2", "#5470c6", "#fac858"],
padding: [15, 30, 35, 45],
padding: [15, 50, 35, 15],
enableScroll: false,
boundaryGap: "justify",
update: true,
@@ -1437,9 +1442,9 @@ function createCharts(x, series, ids) {
itemCount: 0,
scrollShow: false,
scrollAlign: "left",
labelCount: 7,
labelCount: 6,
rotateLabel: true,
rotateAngle: 30,
rotateAngle: 45,
marginTop: 10,
},
yAxis: {