职业健康安全危险源辨识与评价导出明细
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
<Items>
|
||||
<f:ContentPanel ShowHeader="false" runat="server" ID="cpAccidentTime" Margin="0 0 0 0" >
|
||||
|
||||
<div id="divAccidentTime" style="width: 1000px; height: 300px;">
|
||||
<div id="divAccidentTime" style=" height: 300px;">
|
||||
|
||||
</div>
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
grid: {
|
||||
left: '3%',
|
||||
right: '4%',
|
||||
bottom: '3%',
|
||||
bottom: '10%',
|
||||
containLabel: true
|
||||
},
|
||||
xAxis: [
|
||||
@@ -100,6 +100,22 @@
|
||||
series: series
|
||||
};
|
||||
|
||||
if (xAxis.length > 5) {
|
||||
option.dataZoom = [{
|
||||
type: 'slider',
|
||||
show: true,
|
||||
startValue: 0,
|
||||
endValue: 4,
|
||||
height: '10',
|
||||
backgroundColor: '#aed0ea',
|
||||
fillerColor: '#107f8b',
|
||||
bottom: '0%',
|
||||
zoomLock: true,
|
||||
moveOnMouseWheel: true,
|
||||
brushSelect: true,
|
||||
showDetail: false,
|
||||
}]
|
||||
}
|
||||
|
||||
var myChart = echarts.init(document.getElementById("divAccidentTime"));
|
||||
myChart.setOption(option);
|
||||
|
||||
Reference in New Issue
Block a user