|
@@ -73,10 +73,10 @@
|
|
|
<div>
|
|
<div>
|
|
|
过去7天模型吞吐量
|
|
过去7天模型吞吐量
|
|
|
</div>
|
|
</div>
|
|
|
- <div style="height: 30vh;width: 100%;background-color: ;margin-top: 1%;" id="right1">
|
|
|
|
|
|
|
+ <div style="height: 40vh;width: 100%;background-color: ;margin-top: 1%;" id="right1">
|
|
|
|
|
|
|
|
</div>
|
|
</div>
|
|
|
- <div style="margin-top: 5%;">
|
|
|
|
|
|
|
+ <div style="margin-top: 3%;">
|
|
|
过去7天模型错误率
|
|
过去7天模型错误率
|
|
|
</div>
|
|
</div>
|
|
|
<div style="height: 30vh;width: 100%;background-color: ;margin-top: 1%;" id="right2">
|
|
<div style="height: 30vh;width: 100%;background-color: ;margin-top: 1%;" id="right2">
|
|
@@ -535,23 +535,25 @@ async function drawRight1(){
|
|
|
})
|
|
})
|
|
|
option = {
|
|
option = {
|
|
|
grid: {
|
|
grid: {
|
|
|
- top: '15%', // 图表距离容器顶部的距离
|
|
|
|
|
|
|
+ top: '10%', // 图表距离容器顶部的距离
|
|
|
right: '5%', // 图表距离容器右侧的距离
|
|
right: '5%', // 图表距离容器右侧的距离
|
|
|
bottom: '15%', // 图表距离容器底部的距离
|
|
bottom: '15%', // 图表距离容器底部的距离
|
|
|
left: '10%', // 图表距离容器左侧的距离
|
|
left: '10%', // 图表距离容器左侧的距离
|
|
|
containLabel: true // 确保坐标轴标签在 grid 区域内
|
|
containLabel: true // 确保坐标轴标签在 grid 区域内
|
|
|
},
|
|
},
|
|
|
tooltip: {
|
|
tooltip: {
|
|
|
- trigger: 'axis'
|
|
|
|
|
|
|
+ trigger: 'axis',
|
|
|
|
|
+ show:'false'
|
|
|
},
|
|
},
|
|
|
legend: {
|
|
legend: {
|
|
|
- top:'90%'
|
|
|
|
|
|
|
+ top:'88%'
|
|
|
},
|
|
},
|
|
|
xAxis: {
|
|
xAxis: {
|
|
|
splitLine: { show: false },
|
|
splitLine: { show: false },
|
|
|
// type: 'category',
|
|
// type: 'category',
|
|
|
data: x,
|
|
data: x,
|
|
|
axisLabel: {
|
|
axisLabel: {
|
|
|
|
|
+ top:'10%',
|
|
|
interval: 0, // 强制显示所有标签
|
|
interval: 0, // 强制显示所有标签
|
|
|
rotate: -25, // 旋转角度,正值表示顺时针旋转,负值表示逆时针旋转
|
|
rotate: -25, // 旋转角度,正值表示顺时针旋转,负值表示逆时针旋转
|
|
|
// 可以设置文字样式,如字体大小、颜色等
|
|
// 可以设置文字样式,如字体大小、颜色等
|