This commit is contained in:
2025-03-13 18:17:12 +08:00
parent 8c1cb170b2
commit 521a626865
7 changed files with 32 additions and 38 deletions
+10 -5
View File
@@ -205,7 +205,7 @@
<div class="bw-b-bottom">
<div class="bw-b-bottom-up">
<div class="bw-item-content">
<div id="myDiv" runat="server" style="width: 100%; height: 100%;" ></div>
<div id="myDiv" runat="server" style="width: 100%; height: 100%;"></div>
</div>
</div>
</div>
@@ -746,7 +746,7 @@
var option = {
title: {
// left:'center',
text: '关键事项超期平均时间',
text: '关键事项超期平均时间统计(单位:天)',
textStyle: {
color: '#1C1C1C',
fontSize: 16,
@@ -756,11 +756,12 @@
},
tooltip: {},
legend: {
data: ['关键事项超期平均时间'],
left: '3%',
show: true,
selectedMode: false,
textStyle: {//图例文字的样式
color: '#1C1C1C',
//color: '#1C1C1C',
fontSize: 16,
fontWeight: 700
}
@@ -842,10 +843,11 @@
// 使用刚指定的配置项和数据显示图表。
myChart.setOption(option)
}
var four =<%=Four %>;
var xArr = four.categories;
var series = [{
name: '关键事项超期平均时间统计(单位:天)',
name: '关键事项超期平均时间',
type: 'bar',
barWidth: 30,
barGap: 0,
@@ -858,6 +860,7 @@
label: { show: true, position: "middle" },
lineStyle: {
type: "dashed",
width: 2,
color: "#3c78d8"
}
},
@@ -867,10 +870,12 @@
label: { show: true, position: "middle" },
lineStyle: {
type: "dashed",
width: 2,
color: "#FF0000"
}
}
]
],
symbol: ['none', 'none']//标记线箭头
},
label: { //柱体上显示数值
show: true,//开启显示