修改镀锌线ui
This commit is contained in:
@@ -171,19 +171,36 @@ export default {
|
||||
color: ["#0066cc", "#409eff", "#66b1ff"],
|
||||
padding: [15, 15, 0, 15],
|
||||
enableScroll: false,
|
||||
legend: {},
|
||||
legend: {
|
||||
show: true,
|
||||
position: "top",
|
||||
fontSize: 10,
|
||||
lineHeight: 14,
|
||||
itemGap: 6
|
||||
},
|
||||
dataLabel: false, // 隐藏数据标签
|
||||
dataPointShape: false, // 隐藏数据点
|
||||
xAxis: {
|
||||
disableGrid: true,
|
||||
rotateLabel: true, // 启用标签旋转
|
||||
itemCount: 6, // 只显示6个标签,避免密集
|
||||
labelCount: 6 // 标签数量
|
||||
rotateLabel: true,
|
||||
itemCount: 5, // 减少标签数量
|
||||
labelCount: 5,
|
||||
fontSize: 10
|
||||
},
|
||||
yAxis: {
|
||||
gridType: "dash",
|
||||
dashLength: 4,
|
||||
gridColor: "#e4e7ed",
|
||||
showTitle: true,
|
||||
fontSize: 10,
|
||||
data: [{ min: 0, title: "温度(°C)" }]
|
||||
},
|
||||
extra: {
|
||||
line: {
|
||||
type: "curve",
|
||||
width: 2,
|
||||
activeType: "hollow"
|
||||
}
|
||||
}
|
||||
},
|
||||
plantStateDefines: [] // 缓存所有的状态定义
|
||||
|
||||
Reference in New Issue
Block a user