Commit ff55f8c8 authored by liuna's avatar liuna

2018年2月2日 --智能分析平台

--实体厅流量监测:业务量占比当月图表城市显示
parent b3375a17
This diff is collapsed.
...@@ -581,7 +581,7 @@ ...@@ -581,7 +581,7 @@
city.reverse(); city.reverse();
cityValue.reverse(); cityValue.reverse();
option1.series[0].data=cityValue; option1.series[0].data=cityValue;
option1.yAxis.data=city; option1.yAxis[0].data=city;
myChartSeatsActiveness.setOption(option1); myChartSeatsActiveness.setOption(option1);
} }
}); });
...@@ -1385,7 +1385,6 @@ ...@@ -1385,7 +1385,6 @@
seatsReceptionUser() seatsReceptionUser()
</script> </script>
<script> <script>
var myChartSeatsReceptionUserMonth = echarts.init(document.getElementById('seatsReceptionUser')); var myChartSeatsReceptionUserMonth = echarts.init(document.getElementById('seatsReceptionUser'));
var option9 = { var option9 = {
...@@ -1500,7 +1499,6 @@ ...@@ -1500,7 +1499,6 @@
} }
</script> </script>
<script> <script>
var myChartIpBusiness = echarts.init(document.getElementById('ipBusiness')); var myChartIpBusiness = echarts.init(document.getElementById('ipBusiness'));
var option10 = { var option10 = {
...@@ -1607,7 +1605,6 @@ ...@@ -1607,7 +1605,6 @@
url: "${ctx}/MonitorOperation/FlowMonitor/ipBusinessMonth", url: "${ctx}/MonitorOperation/FlowMonitor/ipBusinessMonth",
async: false, async: false,
success: function(data){ success: function(data){
data[i].sort(function(t1,t2){return t1[2]-t2[2]});
console.log("用户IP业务当月",data); console.log("用户IP业务当月",data);
var cnt1 = new Array(); var cnt1 = new Array();
var cnt2 = new Array(); var cnt2 = new Array();
...@@ -1622,6 +1619,7 @@ ...@@ -1622,6 +1619,7 @@
var clientIp = new Array(); var clientIp = new Array();
var cnt = new Array(); var cnt = new Array();
for(var i=0; i<data.length; i++){ for(var i=0; i<data.length; i++){
data[i].sort(function(t1,t2){return t1[2]-t2[2]});
cnt1.push(data[i][0]); cnt1.push(data[i][0]);
cnt2.push(data[i][1]); cnt2.push(data[i][1]);
cnt3.push(data[i][2]); cnt3.push(data[i][2]);
...@@ -1673,7 +1671,6 @@ ...@@ -1673,7 +1671,6 @@
var cnt = new Array(); var cnt = new Array();
for(var i=0; i<data.length; i++){ for(var i=0; i<data.length; i++){
data[i].sort(function(t1,t2){return t1[2]-t2[2]}); data[i].sort(function(t1,t2){return t1[2]-t2[2]});
cnt1.push(data[i][0]); cnt1.push(data[i][0]);
cnt2.push(data[i][1]); cnt2.push(data[i][1]);
cnt3.push(data[i][2]); cnt3.push(data[i][2]);
...@@ -1705,7 +1702,6 @@ ...@@ -1705,7 +1702,6 @@
ipBusiness() ipBusiness()
</script> </script>
<script> <script>
var myChartHttpInformation = echarts.init(document.getElementById('httpState')); var myChartHttpInformation = echarts.init(document.getElementById('httpState'));
var option11 = { var option11 = {
...@@ -1998,7 +1994,6 @@ ...@@ -1998,7 +1994,6 @@
ipTrend() ipTrend()
</script> </script>
<script> <script>
var myChartIpTrendMonth = echarts.init(document.getElementById('ipTrend')); var myChartIpTrendMonth = echarts.init(document.getElementById('ipTrend'));
var option13 = { var option13 = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment