Нет описания

index_20190701.js 17KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751
  1. var areaFourVal="";
  2. var dayTime="";
  3. $(function() {
  4. // laydate.render({
  5. // elem: '#time2',
  6. // format: 'yyyy-MM-dd',
  7. // theme: '#114a97',
  8. // done: function(value, date) {
  9. // fourScreen(areaFourVal,value && value.split('-')[2]);
  10. // dayTime=value.split('-')[2];
  11. // }
  12. // });
  13. laydate.render({
  14. elem: '#time3',
  15. range: '~',
  16. theme: '#114a97',
  17. done: function(value, date) {
  18. var areaOneVal=$(".areaOne").val();
  19. twoScreen(value && value.split(' ~ ')[0], value && value.split(' ~ ')[1],areaOneVal)
  20. }
  21. });
  22. var mySwiper = new Swiper('.swiper-container', {
  23. loop: true,
  24. autoplay: {
  25. delay: 60000,
  26. },
  27. pagination: { /* 分页器*/
  28. el: '.swiper-pagination',
  29. clickable: true,
  30. },
  31. navigation: {
  32. nextEl: '.swiper-button-next',
  33. prevEl: '.swiper-button-prev',
  34. },
  35. // followFinger : false,
  36. // speed:800,
  37. on: {
  38. init: function() {
  39. swiperAnimateCache(this); //隐藏动画元素
  40. swiperAnimate(this); //初始化完成开始动画
  41. },
  42. transitionEnd: function() {
  43. swiperAnimate(this); //每个slide切换结束时也运行当前slide动画
  44. },
  45. }
  46. })
  47. Ajax();
  48. })
  49. var cityObj = {
  50. ele1: "sqs_count",
  51. ele2: "syq_count",
  52. ele3: "lyq_count",
  53. ele4: "ycs_count",
  54. ele5: "mqx_count",
  55. ele6: "sx_count",
  56. ele7: "nlx_count",
  57. ele8: "zcx_count",
  58. ele9: "ycx_count",
  59. ele10: "xyx_count",
  60. ele11: "cxyt_count",
  61. ele12: "djbl_count"
  62. }
  63. var vars = {};
  64. getCountUp(cityObj)
  65. function getCountUp(obj1) {
  66. var options = {  
  67. useEasing: true,
  68.   useGrouping: true,
  69.   separator: ',',
  70.   decimal: '.',
  71. };
  72. $.each(obj1, function(k, v) {
  73. new CountUp(v, 0, 100, 0, 2, options).start()
  74. vars[v] = new CountUp(v, 0, 100, 0, 2, options)
  75. })
  76. }
  77. var myDate = new Date();
  78. function turn(aa) {
  79. if(aa < 10) {
  80. aa = "0" + aa;
  81. }
  82. return aa
  83. }
  84. // 第三屏 第四屏 发光外框 定时
  85. (function() {
  86. var i = 0;
  87. var length = $(".orderState_ul >li").length;
  88. var j = 0;
  89. var length_1 = $(".orderTtype_Con li").length;
  90. setInterval(function() {
  91. if(i == length) {
  92. i = 0;
  93. $(".orderState_ul >li").removeClass('active');
  94. }
  95. $(".orderState_ul >li").eq(i).addClass('active').siblings().removeClass('active');
  96. if(i == 5) {
  97. $(".orderState_ul >li").eq(4).removeClass('active');
  98. }
  99. i++;
  100. if(j == length_1) {
  101. j = 0;
  102. }
  103. $(".orderTtype_Con li").eq(j).addClass('active').siblings().removeClass('active');
  104. j++;
  105. }, 2000);
  106. })();
  107. //第一屏幕 开始
  108. function oneScreen() {
  109. // $('.gdmap-r ul').html('');
  110. // var index = layer.load(1, { shade: [0.5,'#030303'] //0.1透明度的白色背景
  111. // });
  112. $.ajax({
  113. type: "get",
  114. url: huayi.config.callcenter_url + "info/GetAreaCountByDate",
  115. async: true,
  116. dataType: 'json',
  117. data: {
  118. start: myDate.getFullYear() + "-" + turn(myDate.getMonth() + 1) + "-" + turn(myDate.getDate()),
  119. end: myDate.getFullYear() + "-" + turn(myDate.getMonth() + 1) + "-" + turn(myDate.getDate()),
  120. },
  121. success: function(data) {
  122. if(data.state.toLowerCase() == 'success') {
  123. // layer.close(index);
  124. var con = data.data;
  125. console.log(con);
  126. $(con).each(function(i, n) {
  127. if(n.AreaName.indexOf('商丘') != -1) {
  128. vars.sqs_count.update(n.Count);
  129. }
  130. if(n.AreaName.indexOf('睢阳') != -1) {
  131. vars.syq_count.update(n.Count);
  132. }
  133. if(n.AreaName.indexOf('梁园') != -1) {
  134. vars.lyq_count.update(n.Count);
  135. }
  136. if(n.AreaName.indexOf('永城') != -1) {
  137. vars.ycs_count.update(n.Count);
  138. }
  139. if(n.AreaName.indexOf('民权') != -1) {
  140. vars.mqx_count.update(n.Count);
  141. }
  142. if(n.AreaName.indexOf('睢县') != -1) {
  143. vars.sx_count.update(n.Count);
  144. }
  145. if(n.AreaName.indexOf('宁陵') != -1) {
  146. vars.nlx_count.update(n.Count);
  147. }
  148. if(n.AreaName.indexOf('柘城') != -1) {
  149. vars.zcx_count.update(n.Count);
  150. }
  151. if(n.AreaName.indexOf('虞城') != -1) {
  152. vars.ycx_count.update(n.Count);
  153. }
  154. if(n.AreaName.indexOf('夏邑') != -1) {
  155. vars.xyx_count.update(n.Count);
  156. }
  157. if(n.AreaName.indexOf('城乡一体') != -1) {
  158. vars.cxyt_count.update(n.Count);
  159. }
  160. if(n.AreaName.indexOf('当即办理') != -1) {
  161. vars.djbl_count.update(n.Count);
  162. }
  163. })
  164. }
  165. }
  166. });
  167. }
  168. //第二屏
  169. function twoScreen(start, end,areaTwoVal) {
  170. if(!areaTwoVal){
  171. areaTwoVal="sqs12345"
  172. }
  173. $.ajax({
  174. type: "get",
  175. url: huayi.config.callcenter_url + "info/GetSourceByDate",
  176. async: true,
  177. dataType: 'json',
  178. data: {
  179. start: start,
  180. end: end,
  181. branchcode:areaTwoVal
  182. },
  183. success: function(data) {
  184. if(data.state.toLowerCase() == 'success') {
  185. // layer.close(index);
  186. $('.orderSource ul li .rectangle').remove();
  187. var con = data.data;
  188. $(con).each(function(i, n) {
  189. if(!n.Percent) {
  190. n.Percent = '0.00%'
  191. }
  192. if(n.Source.indexOf('信箱') != -1) {
  193. n.Source = '信箱'
  194. }
  195. if(n.Source.indexOf('APP') != -1) {
  196. n.Source = 'APP'
  197. }
  198. if(n.Source.indexOf('政务') != -1) {
  199. n.Source = '政务网'
  200. }
  201. var str = '<div class="source_kuang rectangle">' +
  202. '<div class="pbout">' +
  203. '<div class="percent_box">' +
  204. '<div class="percent_out"></div> ' +
  205. ' <div class="percent_in"></div>' +
  206. ' <div class="percent_word"><p>' + n.Percent.split('%')[0] + '</p>%<p style="margin-top: 16px;">占总量</p>' +
  207. '</div>' +
  208. '</div>' +
  209. '</div>' +
  210. '<p class="num_word">' +
  211. '<span>' + n.Source + '</span><span>' + n.Count + '</span>' +
  212. '</p>' +
  213. '</div>'
  214. $('.orderSource ul li').eq(i).prepend(str)
  215. })
  216. }
  217. }
  218. });
  219. }
  220. //第三屏
  221. function threeScreen(areaThreeVal) {
  222. if(!areaThreeVal){
  223. areaThreeVal="sqs12345"
  224. }
  225. $.ajax({
  226. type: "get",
  227. url: huayi.config.callcenter_url + "Info/GetTypeCountNew",
  228. data:{
  229. branchcode:areaThreeVal
  230. },
  231. async: true,
  232. dataType: 'json',
  233. success: function(data) {
  234. if(data.state.toLowerCase() == 'success') {
  235. $('.orderTtype_Con ul').html('');
  236. // layer.close(index);
  237. var con = data.data;
  238. var img_name = '';
  239. $(con).each(function(i, n) {
  240. if(n.TypeName.indexOf('咨询') != -1) {
  241. img_name = 'order_ZX.png'
  242. }
  243. if(n.TypeName.indexOf('求助') != -1) {
  244. img_name = 'order_QZ.png'
  245. }
  246. if(n.TypeName.indexOf('投诉') != -1) {
  247. img_name = 'order_TS.png'
  248. }
  249. if(n.TypeName.indexOf('建议') != -1) {
  250. img_name = 'order_JY.png'
  251. }
  252. if(n.TypeName.indexOf('表扬') != -1) {
  253. img_name = 'order_BY.png'
  254. }
  255. if(n.TypeName.indexOf('其他') != -1) {
  256. img_name = 'order_QT.png'
  257. }
  258. $('<li>' +
  259. '<div class="typeWord">' + n.TypeName + '</div>' +
  260. '<img src="img/' + img_name + '" alt="" />' +
  261. '<p class="typeWord_line">数据展示</p>' +
  262. '<p class="order_count">' + n.DayCount + '</p>' +
  263. '<p class="typeWord_line">今日' + n.TypeName + '量</p>' +
  264. '<p class="order_count">' + n.MonthCount + '</p>' +
  265. '<p class="typeWord_line">本月' + n.TypeName + '量</p>' +
  266. '<p class="order_count">' + n.TotalCount + '</p>' +
  267. '<p class="typeWord_line">' + n.TypeName + '总量</p>' +
  268. '<div class="persent_box">' +
  269. '<div class="persent_kuang">' + n.Percent + '</div>' +
  270. '</div>' +
  271. '<p class="persent_word">总计类型占比</p>' +
  272. '</li>').appendTo('.orderTtype_Con ul');
  273. })
  274. }
  275. }
  276. });
  277. }
  278. // //第四屏 数字滚动
  279. // function fourScreen(areaFourVal,dayTime) {
  280. // if(!areaFourVal){
  281. // areaFourVal="sqs12345"
  282. // }
  283. // $.ajax({
  284. // type: "get",
  285. // url: huayi.config.callcenter_url + "Info/GetStateCountByMonth",
  286. // data:{
  287. // branchcode:areaFourVal,
  288. // day:dayTime
  289. // },
  290. // async: true,
  291. // dataType: 'json',
  292. // success: function(data) {
  293. // if(data.state.toLowerCase() == 'success') {
  294. // // layer.close(index);
  295. // var con = data.data;
  296. // $(con).each(function(i, n) {
  297. // if(n.Name.indexOf('延时审核') != -1) {
  298. // $("#state_yssh").rollNum({
  299. // deVal: n.Count
  300. // });
  301. // }
  302. // if(n.Name.indexOf('已办理') != -1) {
  303. // $("#state_ybl").rollNum({
  304. // deVal: n.Count
  305. // });
  306. // }
  307. // if(n.Name.indexOf('已回访') != -1) {
  308. // $("#state_yhf").rollNum({
  309. // deVal: n.Count
  310. // });
  311. // }
  312. // if(n.Name.indexOf('重办中') != -1) {
  313. // $("#state_cbz").rollNum({
  314. // deVal: n.Count
  315. // });
  316. // }
  317. // if(n.Name.indexOf('已结案') != -1) {
  318. // $("#state_yja").rollNum({
  319. // deVal: n.Count
  320. // });
  321. // }
  322. // if(n.Name.indexOf('新工单') != -1) {
  323. // $("#state_xzgd").rollNum({
  324. // deVal: n.Count
  325. // });
  326. // }
  327. // if(n.Name.indexOf('待交办') != -1) {
  328. // $("#state_djb").rollNum({
  329. // deVal: n.Count
  330. // });
  331. // }
  332. // if(n.Name.indexOf('待查收') != -1) {
  333. // $("#state_dcs").rollNum({
  334. // deVal: n.Count
  335. // });
  336. // }
  337. // if(n.Name.indexOf('退回审核') != -1) {
  338. // $("#state_thsh").rollNum({
  339. // deVal: n.Count
  340. // });
  341. // }
  342. // if(n.Name.indexOf('办理中') != -1) {
  343. // $("#state_blz").rollNum({
  344. // deVal: n.Count
  345. // });
  346. // }
  347. // if(n.Name.indexOf('待审核') != -1) {
  348. // $("#state_dsh").rollNum({
  349. // deVal: n.Count
  350. // });
  351. // }
  352. // if(n.Name.indexOf('重办待交办') != -1) {
  353. // $("#state_cbdjb").rollNum({
  354. // deVal: n.Count
  355. // });
  356. // }
  357. // });
  358. // }
  359. // }
  360. // });
  361. // }
  362. //第五屏js
  363. function fiveScreen(areaFiveVal) {
  364. if(areaFiveVal){
  365. huawus(areaFiveVal);
  366. jtvs(areaFiveVal);
  367. keyWord(areaFiveVal);
  368. }else{
  369. areaFiveVal="sqs12345"
  370. huawus(areaFiveVal);
  371. jtvs(areaFiveVal);
  372. keyWord(areaFiveVal);
  373. }
  374. }
  375. function huawus(areaFiveVal) {
  376. $.ajax({
  377. type: "get",
  378. url: huayi.config.callcenter_url + "info/GetTelCountByDate",
  379. async: true,
  380. dataType: "json",
  381. data: {
  382. date: myDate.getFullYear() + "-" + turn(myDate.getMonth() + 1) + "-" + turn(myDate.getDate()),
  383. branchcode:areaFiveVal
  384. },
  385. success: function(data) {
  386. if(data.state.toLowerCase() == "success") {
  387. // layer.close(index);
  388. var con = data.data;
  389. huawu.setOption({
  390. series: [{
  391. data: [con.hwcon, con.lhcon, con.jtcon, con.pjthtimes]
  392. // data: [20, 100, 5, 80]
  393. }]
  394. })
  395. }
  396. }
  397. });
  398. }
  399. function jtvs(areaFiveVal) {
  400. $.ajax({
  401. type: "get",
  402. url: huayi.config.callcenter_url + "info/GetTelRate24ByDate",
  403. async: true,
  404. dataType: 'json',
  405. data: {
  406. // date:$('#time4').val()
  407. branchcode:areaFiveVal
  408. },
  409. success: function(data) {
  410. if(data.state.toLowerCase() == 'success') {
  411. // layer.close(index);
  412. var con = data.data;
  413. // var part3=data.data.b;
  414. jtv_num.setOption({
  415. xAxis: {
  416. data: con.hours
  417. },
  418. series: [{
  419. data: con.rates
  420. }]
  421. })
  422. }
  423. }
  424. });
  425. }
  426. // $(".depart").change(function() {
  427. // keyWordDetail($('#test6').val() && $('#test6').val().split(' ~ ')[0], $('#test6').val() && $('#test6').val().split(' ~ ')[1]);
  428. // });
  429. // 第五屏
  430. $(".areaFive").change(function() {
  431. var areaFiveVal=$(this).val();
  432. fiveScreen(areaFiveVal);
  433. });
  434. // 第四屏
  435. // $(".areaFour").change(function() {
  436. // var areaFourVal=$(this).val();
  437. // fourScreen(areaFourVal,dayTime)
  438. // });
  439. // 第三屏
  440. $(".areaThree").change(function() {
  441. var areaThreeVal=$(this).val();
  442. threeScreen(areaThreeVal);
  443. });
  444. // 第二屏
  445. $(".areaTwo").change(function() {
  446. var areaTwoVal=$(this).val();
  447. twoScreen($('#time3').val() && $('#time3').val().split(' ~ ')[0], $('#time3').val() && $('#time3').val().split(' ~ ')[1],areaTwoVal);
  448. });
  449. //区县筛选
  450. deprtment ();
  451. function deprtment () {
  452. $.getJSON( huayi.config.callcenter_url +"CountyBranch/GetBranchListS", function(result) {
  453. if(result.state.toLowerCase() == "success") {
  454. goodslist = result.data;
  455. // 第五屏
  456. $(".areaFive").empty();
  457. $(goodslist).each(function(i, n) {
  458. $('<option value="' + n.F_Code
  459. + '">' + n.F_Name
  460. + '</option>').appendTo($(".areaFive"));
  461. });
  462. //第4屏
  463. $(".areaFour").empty();
  464. $(goodslist).each(function(i, n) {
  465. $('<option value="' + n.F_Code
  466. + '">' + n.F_Name
  467. + '</option>').appendTo($(".areaFour"));
  468. });
  469. //第3屏
  470. $(".areaThree").empty();
  471. $(goodslist).each(function(i, n) {
  472. $('<option value="' + n.F_Code
  473. + '">' + n.F_Name
  474. + '</option>').appendTo($(".areaThree"));
  475. });
  476. //第2屏
  477. $(".areaTwo").empty();
  478. $(goodslist).each(function(i, n) {
  479. $('<option value="' + n.F_Code
  480. + '">' + n.F_Name
  481. + '</option>').appendTo($(".areaTwo"));
  482. });
  483. }
  484. });
  485. }
  486. function keyWord(areaFiveVal) {
  487. $.ajax({
  488. type: "get",
  489. url: huayi.config.callcenter_url + "info/GetKeyCountByDateNew",
  490. async: true,
  491. dataType: 'json',
  492. data: {
  493. // date:$('#time4').val()
  494. branchcode:areaFiveVal
  495. },
  496. success: function(data) {
  497. if(data.state.toLowerCase() == 'success') {
  498. // layer.close(index);
  499. var con = data.data;
  500. $('.tagcloud').html('');
  501. // var strs='<div class="tagcloud">'
  502. $(con).each(function(k, j) {
  503. if(k < 10) {
  504. var strs = '<div>' +
  505. '<p class="tag_title">' + j.关键字 + '</p>' +
  506. '<p class="imgs">' + j.投诉 + '</p>' +
  507. '<p class="ts_count">投诉量</p>' +
  508. '</div>'
  509. $('.tagcloud').append(strs);
  510. }
  511. })
  512. }
  513. },
  514. complete: function(XMLHttpRequest) {
  515. // setTimeout(function(){
  516. tagcloud({
  517. selector: ".tagcloud", //元素选择器
  518. fontsize: 16, //基本字体大小, 单位px
  519. radius: 150, //滚动半径, 单位px
  520. mspeed: "normal", //滚动最大速度, 取值: slow, normal(默认), fast
  521. ispeed: "normal", //滚动初速度, 取值: slow, normal(默认), fast
  522. direction: 135, //初始滚动方向, 取值角度(顺时针360): 0对应top, 90对应left, 135对应right-bottom(默认)...
  523. keep: false // 鼠标移出组件后是否继续随鼠标滚动, 取值: false, true(默认) 对应 减速至初速度滚动, 随鼠标滚动
  524. });
  525. // },100);
  526. }
  527. });
  528. }
  529. //第五屏图表js
  530. var huawu = echarts.init(document.getElementById('huawu_tody'));
  531. huawu.setOption({
  532. tooltip: {
  533. trigger: 'axis',
  534. axisPointer: {
  535. type: false,
  536. label: {
  537. show: true,
  538. backgroundColor: '#030917'
  539. }
  540. },
  541. },
  542. grid: {
  543. left: '2%',
  544. right: '8%',
  545. bottom: '6%',
  546. containLabel: true
  547. },
  548. xAxis: {
  549. name: '类型',
  550. data: ["话务量(通)", "来电(通)", "接通量(通)", "平均通话时长(秒)"],
  551. axisLine: {
  552. lineStyle: {
  553. color: '#038de2'
  554. }
  555. },
  556. axisTick: {
  557. alignWithLabel: true,
  558. show: false
  559. },
  560. axisLabel: { //横轴字体颜色
  561. show: true,
  562. textStyle: {
  563. color: '#00daf4'
  564. }
  565. }
  566. },
  567. yAxis: {
  568. name: '数量',
  569. splitLine: {
  570. show: false
  571. },
  572. axisLine: {
  573. lineStyle: {
  574. color: '#038de2'
  575. }
  576. }
  577. },
  578. series: [{
  579. name: '数量',
  580. type: 'bar',
  581. barWidth: 18,
  582. itemStyle: {
  583. normal: {
  584. color: new echarts.graphic.LinearGradient(
  585. 0, 0, 0, 1, [{
  586. offset: 0,
  587. color: '#0285ff'
  588. },
  589. {
  590. offset: 1,
  591. color: '#0385ff24'
  592. }
  593. ]
  594. )
  595. }
  596. },
  597. label: {
  598. normal: {
  599. show: true,
  600. position: 'top', //顶部数据显示位置
  601. textStyle: {
  602. color: '#fff' //顶部数据颜色
  603. },
  604. formatter: '{c}' // 这里是数据展示的时候显示的数据
  605. }
  606. },
  607. data: []
  608. }]
  609. });
  610. var jtv_num = echarts.init(document.getElementById('jtv_num'));
  611. jtv_num.setOption({
  612. // title: {
  613. // text: '接通率统计',
  614. // x: 'center',
  615. // textStyle: {
  616. // color: '#fff',
  617. // fontSize: 18,
  618. // fontWeight: 'normal'
  619. // }
  620. // },
  621. grid: {
  622. left: '6%',
  623. right: '8%',
  624. bottom: '6%',
  625. containLabel: true
  626. },
  627. tooltip: {
  628. trigger: 'axis',
  629. axisPointer: {
  630. type: 'shadow',
  631. label: {
  632. show: true,
  633. backgroundColor: '#333'
  634. }
  635. },
  636. formatter: function(datas) {
  637. var res = datas[0].name + '<br/>',
  638. val;
  639. for(var i = 0, length = datas.length; i < length; i++) {
  640. val = (datas[i].value) + '%';
  641. res += datas[i].seriesName + ':' + val + '<br/>';
  642. }
  643. return res;
  644. }
  645. },
  646. // legend: {
  647. //// top: 30,
  648. //bottom:'bottom',
  649. // data: ['接通率'],
  650. // textStyle: {
  651. // color: '#fff'
  652. // }
  653. // },
  654. xAxis: {
  655. name: '时',
  656. data: [],
  657. axisLine: {
  658. lineStyle: {
  659. color: '#038de2'
  660. }
  661. },
  662. axisTick: {
  663. alignWithLabel: true,
  664. show: false
  665. },
  666. axisLabel: { //横轴字体颜色
  667. show: true,
  668. textStyle: {
  669. color: '#00daf4'
  670. }
  671. }
  672. },
  673. yAxis: {
  674. name: '比率',
  675. splitLine: {
  676. show: false
  677. },
  678. axisLine: {
  679. lineStyle: {
  680. color: '#038de2'
  681. }
  682. }
  683. },
  684. series: [{
  685. name: '接通率',
  686. type: 'bar',
  687. barWidth: 8,
  688. itemStyle: {
  689. normal: {
  690. color: new echarts.graphic.LinearGradient(
  691. 0, 0, 0, 1, [{
  692. offset: 0,
  693. color: '#00e8fe'
  694. },
  695. {
  696. offset: 1,
  697. color: '#016fa4'
  698. }
  699. ]
  700. )
  701. }
  702. },
  703. // data: [500, 10, 25, 78, 85, 89, 56, 120, 20, 230, 52, 85, 45, 46, 12, 600, 15, 18, 95, 150, 28, 134, 146, 145]
  704. data: []
  705. }]
  706. });
  707. function Ajax() {
  708. oneScreen();
  709. twoScreen();
  710. threeScreen();
  711. //fourScreen();
  712. fiveScreen()
  713. }