更改ddos 配置为maat提交

This commit is contained in:
zhanghongqing
2018-11-13 20:19:49 +08:00
parent fe6698e71e
commit 3100cd07c6
4 changed files with 162 additions and 28 deletions

View File

@@ -70,6 +70,7 @@
</div>
</div>
<script src="${pageContext.request.contextPath}/static/global/plugins/highcharts/js/highcharts.js"></script>
<script src="${pageContext.request.contextPath}/static/global/plugins/highcharts/js/exporting.js"></script>
<%-- <script src="${pageContext.request.contextPath}/static/global/plugins/highcharts/themes/grid.js"></script> --%>
<script type="text/javascript">
$(document).ready(function(){
@@ -78,7 +79,6 @@ $(document).ready(function(){
});
function showIpActiveChart(rs){
console.log(rs)
var data=new Array();
var xData=new Array();
xData=rs[0].statTime;
@@ -90,6 +90,21 @@ function showIpActiveChart(rs){
});
})
var chart = Highcharts.chart('chart', {
exporting: {
allowHTML:true,
url:'saveAsImage',
filename:'Active-IP',
chartOptions: {
plotOptions: {
series: {
dataLabels: {
enabled: true,
allowOverlap: true, // 允许数据标签重叠
},
},
}
}
},
title: {
text: null
},