dapingmu.html 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726
  1. <!DOCTYPE html>
  2. <html style="height: 100%">
  3. <head>
  4. <meta charset="UTF-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  6. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  7. <title>流水线管理页</title>
  8. <!-- Favicon-->
  9. <link rel="icon" href="favicon.ico" type="image/x-icon">
  10. <!-- Google Fonts -->
  11. <link href="https://fonts.googleapis.com/css?family=Roboto:400,700&subset=latin,cyrillic-ext" rel="stylesheet" type="text/css">
  12. <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type="text/css">
  13. <!-- Bootstrap Core Css -->
  14. <link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
  15. <!-- Waves Effect Css -->
  16. <link href="plugins/node-waves/waves.css" rel="stylesheet" />
  17. <!-- Animation Css -->
  18. <link href="plugins/animate-css/animate.css" rel="stylesheet" />
  19. <!-- Morris Chart Css-->
  20. <link href="plugins/morrisjs/morris.css" rel="stylesheet" />
  21. <!-- Custom Css -->
  22. <link href="css/style.css" rel="stylesheet">
  23. <!-- AdminBSB Themes. You can choose a theme from css/themes instead of get all themes -->
  24. <link href="css/themes/all-themes.css" rel="stylesheet" />
  25. <script src="https://cdn.bootcss.com/jquery/3.2.1/jquery.min.js"></script>
  26. <script src="https://cdn.bootcss.com/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
  27. <script src="https://cdn.bootcss.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
  28. <link rel="icon" href="https://static.jianshukeji.com/highcharts/images/favicon.ico">
  29. <meta name="viewport" content="width=device-width, initial-scale=1">
  30. <style>
  31. /* css 代码 */
  32. </style>
  33. <script src="https://img.hcharts.cn/highcharts/highcharts.js"></script>
  34. <script src="https://img.hcharts.cn/highcharts/modules/exporting.js"></script>
  35. <script src="https://img.hcharts.cn/highcharts-plugins/highcharts-zh_CN.js"></script>
  36. <script language="JavaScript">
  37. function startTime()
  38. {
  39. var today=new Date();//定义日期对象
  40. var yyyy = today.getFullYear();//通过日期对象的getFullYear()方法返回年
  41. var MM = today.getMonth()+1;//通过日期对象的getMonth()方法返回年
  42. var dd = today.getDate();//通过日期对象的getDate()方法返回年
  43. var hh=today.getHours();//通过日期对象的getHours方法返回小时
  44. var mm=today.getMinutes();//通过日期对象的getMinutes方法返回分钟
  45. var ss=today.getSeconds();//通过日期对象的getSeconds方法返回秒
  46. // 如果分钟或小时的值小于10,则在其值前加0,比如如果时间是下午3点20分9秒的话,则显示15:20:09
  47. MM=checkTime(MM);
  48. dd=checkTime(dd);
  49. mm=checkTime(mm);
  50. ss=checkTime(ss);
  51. var day; //用于保存星期(getDay()方法得到星期编号)
  52. if(today.getDay()==0) day = "星期日 "
  53. if(today.getDay()==1) day = "星期一 "
  54. if(today.getDay()==2) day = "星期二 "
  55. if(today.getDay()==3) day = "星期三 "
  56. if(today.getDay()==4) day = "星期四 "
  57. if(today.getDay()==5) day = "星期五 "
  58. if(today.getDay()==6) day = "星期六 "
  59. document.getElementById('nowDateTimeSpan').innerHTML=yyyy+"-"+MM +"-"+ dd +" " + day+" " + hh+":"+mm+":"+ss;
  60. setTimeout('startTime()',1000);//每一秒中重新加载startTime()方法
  61. }
  62. function checkTime(i)
  63. {
  64. if (i<10){
  65. i="0" + i;
  66. }
  67. return i;
  68. }
  69. </script>
  70. </head>
  71. <body class="theme-red" style="height: 100%;background-color: #17253f !important;" onload="startTime()">
  72. <section class="content" style="margin: 0 auto;height: 100%">
  73. <nav class="navbar" style="background-color: red">
  74. <div class="container-fluid">
  75. <div class="navbar-header">
  76. <a class="navbar-brand" href="index.html">工厂产能监控系统</a>
  77. </div>
  78. <div style="color: #ffffff"><img src="images/logo.jpg" style="width: 10%"> 深圳市度彼电子有限公司——</div>
  79. <font color="#ffffff"><span id="nowDateTimeSpan"></span></font>
  80. </div>
  81. </nav>
  82. <!-- #END# CPU Usage -->
  83. <div class="row clearfix" style="height: 13%">
  84. <!-- Visitors -->
  85. <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
  86. <div class="card" style="margin-bottom: 0.2em">
  87. <div class="body bg-pink">
  88. <div class="row text-center" style="font-size: 2em">
  89. <div class="col-3"></div>
  90. <div class="col-3">全场产能:</div>
  91. <div class="col-3">122555</div>
  92. <div class="col-3"></div>
  93. </div>
  94. </div>
  95. </div>
  96. </div>
  97. <!-- #END# Visitors -->
  98. <!-- Latest Social Trends -->
  99. <div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
  100. <div class="card" style="margin-bottom: 0.2em">
  101. <div class="body bg-cyan text-center">
  102. <div class="row text-center" style="font-size: 2em">
  103. <div class="col-3"></div>
  104. <div class="col-3">全厂坏品数:</div>
  105. <div class="col-3">15555</div>
  106. <div class="col-3"></div>
  107. </div>
  108. </div>
  109. </div>
  110. </div>
  111. <!-- #END# Latest Social Trends -->
  112. <!-- Answered Tickets -->
  113. <!-- #END# Answered Tickets -->
  114. </div>
  115. <div class="container-fluid" style="height: 80%">
  116. <div id="graph-1" ></div>
  117. <div id="graph-2" ></div>
  118. </div>
  119. </section>
  120. <!-- Jquery Core Js -->
  121. <script src="plugins/jquery/jquery.min.js"></script>
  122. <!-- Bootstrap Core Js -->
  123. <script src="plugins/bootstrap/js/bootstrap.js"></script>
  124. <!-- Select Plugin Js -->
  125. <script src="plugins/bootstrap-select/js/bootstrap-select.js"></script>
  126. <!-- Slimscroll Plugin Js -->
  127. <script src="plugins/jquery-slimscroll/jquery.slimscroll.js"></script>
  128. <!-- Waves Effect Plugin Js -->
  129. <script src="plugins/node-waves/waves.js"></script>
  130. <!-- Jquery CountTo Plugin Js -->
  131. <script src="plugins/jquery-countto/jquery.countTo.js"></script>
  132. <!-- Morris Plugin Js -->
  133. <script src="plugins/raphael/raphael.min.js"></script>
  134. <script src="plugins/morrisjs/morris.js"></script>
  135. <!-- ChartJs -->
  136. <script src="plugins/chartjs/Chart.bundle.js"></script>
  137. <!-- Flot Charts Plugin Js -->
  138. <script src="plugins/flot-charts/jquery.flot.js"></script>
  139. <script src="plugins/flot-charts/jquery.flot.resize.js"></script>
  140. <script src="plugins/flot-charts/jquery.flot.pie.js"></script>
  141. <script src="plugins/flot-charts/jquery.flot.categories.js"></script>
  142. <script src="plugins/flot-charts/jquery.flot.time.js"></script>
  143. <!-- Sparkline Chart Plugin Js -->
  144. <script src="plugins/jquery-sparkline/jquery.sparkline.js"></script>
  145. <script src="js/admin.js"></script>
  146. <!--<script src="js/pages/index.js"></script>-->
  147. <!-- Demo Js -->
  148. <script src="js/demo.js"></script>
  149. <!--<script src="js/demo.js"></script> -->
  150. <script src="js/basic1.js"></script>
  151. <script>
  152. var chart = Highcharts.chart('container1', {
  153. chart: {
  154. type: 'area',
  155. backgroundColor:'#E91E63',
  156. style:{
  157. color:'#FFFFFF',
  158. fontSize:"20px",
  159. }
  160. },
  161. colors: [ '#ffffff'
  162. ],
  163. legend: {
  164. enabled: false
  165. },
  166. credits: {
  167. enabled:false,
  168. },
  169. title: {
  170. text: '全厂产能',
  171. style:{
  172. color:'#FFFFFF',
  173. fontSize:"20px",
  174. }
  175. },
  176. xAxis: {
  177. categories: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月'],
  178. labels:{
  179. enabled:false,
  180. style:{
  181. fontSize:16,
  182. color:'#ffffff',
  183. }
  184. }
  185. },
  186. yAxis: {
  187. title: {
  188. text: null
  189. },
  190. labels:{
  191. style:{
  192. fontSize:16,
  193. color:'#ffffff',
  194. }
  195. }
  196. },
  197. /* plotOptions: {
  198. line: {
  199. dataLabels: {
  200. // 开启数据标签
  201. enabled: true
  202. },
  203. // 关闭鼠标跟踪,对应的提示框、点击事件会失效
  204. enableMouseTracking: false
  205. }
  206. series: {
  207. dataLabels: {
  208. enabled: true,
  209. color: 'red',
  210. }
  211. },*/
  212. plotOptions: {
  213. series: {
  214. dataLabels: {
  215. enabled: true,
  216. color: 'black'
  217. }
  218. }
  219. },
  220. series: [{
  221. name: '东京',
  222. data: [7.0, 6.9, 9.5, 14.5, 18.4, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],
  223. }]
  224. });
  225. </script>
  226. <script>
  227. var chart = Highcharts.chart('container2', {
  228. chart: {
  229. type: 'line',
  230. },
  231. exporting: {
  232. enabled: false
  233. },
  234. credits: {
  235. enabled:false,
  236. },
  237. title: {
  238. text: '全厂坏品数'
  239. },
  240. xAxis: {
  241. categories: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
  242. },
  243. yAxis: {
  244. title: {
  245. text: '气温 (°C)'
  246. }
  247. },
  248. plotOptions: {
  249. line: {
  250. dataLabels: {
  251. // 开启数据标签
  252. enabled: true
  253. },
  254. // 关闭鼠标跟踪,对应的提示框、点击事件会失效
  255. enableMouseTracking: false
  256. }
  257. },
  258. series: [{
  259. name: '东京',
  260. data: [7.0, 6.9, 9.5, 14.5, 18.4, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6]
  261. }, {
  262. name: '伦敦',
  263. data: [3.9, 4.2, 5.7, 8.5, 11.9, 15.2, 17.0, 16.6, 14.2, 10.3, 6.6, 4.8]
  264. }]
  265. });
  266. </script>
  267. <script>
  268. var chart = Highcharts.chart('container3', {
  269. title: {
  270. text: null
  271. },
  272. chart: {
  273. zoomType: 'xy'
  274. },
  275. credits:{
  276. enabled: false // 禁用版权信息
  277. },
  278. exporting: {
  279. enabled: false
  280. },
  281. xAxis: [{
  282. categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
  283. 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'],
  284. labels: {
  285. enabled: false,
  286. }
  287. }],
  288. yAxis: [{ // Primary yAxis
  289. labels: {
  290. format: '{value}',
  291. style: {
  292. color: '#ffc107',
  293. fontSize:'20px'
  294. }
  295. },
  296. title: {
  297. text: '堆积数',
  298. style: {
  299. color: '#ffc107',
  300. fontSize:'20px'
  301. }
  302. }
  303. }, { // Secondary yAxis
  304. title: {
  305. text: '不良率',
  306. style: {
  307. color: 'red',
  308. fontSize:'20px'
  309. }
  310. },
  311. min:0,
  312. max:25,
  313. labels: {
  314. format: '{value} %',
  315. style: {
  316. color: 'red',
  317. fontSize:'20px'
  318. }
  319. },
  320. opposite: true
  321. }],
  322. tooltip: {
  323. shared: true
  324. },
  325. legend: {
  326. layout: 'vertical',
  327. align: 'right',
  328. x: -120,
  329. verticalAlign: 'top',
  330. y: 0,
  331. floating: true,
  332. backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF'
  333. },
  334. series: [ {
  335. name: '堆积数',
  336. color:'#ffc107',
  337. type: 'area',
  338. data: [10,15, 12, 14.5, 18.2, 15, 10, 13, 13.3, 14.3, 13.9, 9.6],
  339. tooltip: {
  340. valueSuffix: ''
  341. }
  342. },{
  343. name: '不良率',
  344. type: 'spline',
  345. color:'#ff0000',
  346. yAxis: 1,
  347. data: [10, 11, 12, 10.1, 10.2, 1, 5, 7, 8, 10, 5, 7],
  348. tooltip: {
  349. valueSuffix: ' %'
  350. }
  351. }]
  352. });
  353. </script>
  354. <script>
  355. /*var chart = Highcharts.chart('container4', {
  356. chart: {
  357. type: 'line',
  358. },
  359. credits: {
  360. enabled:false,
  361. },
  362. title: {
  363. text: null
  364. },
  365. xAxis: {
  366. categories: ['一月', '二月', '三月', '四月', '五月', '六月', '七月', '八月', '九月', '十月', '十一月', '十二月']
  367. },
  368. yAxis: [{ // Primary yAxis
  369. labels: {
  370. format: '{value}',
  371. style: {
  372. color: Highcharts.getOptions().colors[1]
  373. }
  374. },
  375. title: {
  376. text: '堆积数',
  377. style: {
  378. color: Highcharts.getOptions().colors[1]
  379. }
  380. }
  381. }, { // Secondary yAxis
  382. title: {
  383. text: '不良率',
  384. style: {
  385. color: Highcharts.getOptions().colors[0]
  386. }
  387. },
  388. labels: {
  389. format: '{value} %',
  390. style: {
  391. color: Highcharts.getOptions().colors[0]
  392. }
  393. },
  394. opposite: true
  395. }],
  396. plotOptions: {
  397. line: {
  398. dataLabels: {
  399. // 开启数据标签
  400. enabled: true
  401. },
  402. // 关闭鼠标跟踪,对应的提示框、点击事件会失效
  403. enableMouseTracking: false
  404. }
  405. },
  406. series: [{
  407. name: '不良率',
  408. type: 'spline',
  409. yAxis: 1,
  410. data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4],
  411. tooltip: {
  412. valueSuffix: ' %'
  413. }
  414. }, {
  415. name: '堆积数',
  416. type: 'spline',
  417. data: [7.0, 6.9, 9.5, 14.5, 18.2, 21.5, 25.2, 26.5, 23.3, 18.3, 13.9, 9.6],
  418. tooltip: {
  419. valueSuffix: ''
  420. }
  421. }]
  422. });*/
  423. </script>
  424. <script>
  425. var chart = Highcharts.chart('container5',{
  426. chart: {
  427. type: 'column'
  428. },
  429. credits:{
  430. enabled: false // 禁用版权信息
  431. },
  432. legend: {
  433. enabled: false
  434. },
  435. exporting: {
  436. enabled: false
  437. },
  438. title: {
  439. text: '每拉实时产能',
  440. style:{
  441. fontSize:"20px",
  442. }
  443. },
  444. xAxis: {
  445. categories: [
  446. '一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月'
  447. ],
  448. crosshair: true,
  449. labels:{
  450. style:{
  451. fontSize:'20px'
  452. }
  453. }
  454. },
  455. yAxis: {
  456. min: 0,
  457. title: null,
  458. labels:{
  459. style:{
  460. fontSize:'20px'
  461. }
  462. }
  463. },
  464. tooltip: {
  465. // head + 每个 point + footer 拼接成完整的 table
  466. headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
  467. pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
  468. '<td style="padding:0"><b>{point.y:.1f} mm</b></td></tr>',
  469. footerFormat: '</table>',
  470. shared: true,
  471. useHTML: true
  472. },
  473. plotOptions: {
  474. column: {
  475. borderWidth: 0
  476. }
  477. },
  478. series: [{
  479. name: '东京',
  480. data: [49.9, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, 216.4, 194.1, 95.6, 54.4]
  481. }, {
  482. name: '纽约',
  483. data: [83.6, 78.8, 98.5, 93.4, 106.0, 84.5, 105.0, 104.3, 91.2, 83.5, 106.6, 92.3]
  484. }, {
  485. name: '伦敦',
  486. data: [48.9, 38.8, 39.3, 41.4, 47.0, 48.3, 59.0, 59.6, 52.4, 65.2, 59.3, 51.2]
  487. }, {
  488. name: '柏林',
  489. data: [42.4, 33.2, 34.5, 39.7, 52.6, 75.5, 57.4, 60.4, 47.6, 39.1, 46.8, 51.1]
  490. }]
  491. });
  492. </script>
  493. <script>
  494. function showChart() {
  495. var stackdata = [];
  496. var passdata=[];
  497. var faildata=[];
  498. var failrate=[];
  499. var failmax=0;
  500. for (i = 0; i < passNumber.length; i++) {
  501. passdata.push(passeverynum[i]);
  502. faildata.push(faileverynum[i]);
  503. stackdata.push(0);
  504. failrate.push(failrate[i])
  505. if (failmax < failrate[i]) {
  506. failmax = failrate[i];
  507. }
  508. }
  509. //showEachSpot();
  510. failmax = Math.max(failmax, 5);
  511. stackAndFailChart = Highcharts.chart('graph-1', {
  512. chart: {
  513. zoomType: 'xy',
  514. height: (4 / 16 * 100) + '%' // 16:9 ratio
  515. },
  516. title: {
  517. text: '各产线今日产能'
  518. },
  519. credits: {
  520. enabled: false // 禁用版权信息
  521. },
  522. exporting: {
  523. enabled: false
  524. },
  525. xAxis: [{
  526. crosshair: true,
  527. labels: {
  528. style: {
  529. fontSize: '1.5em'
  530. }
  531. }
  532. }],
  533. yAxis: [{ // Primary yAxis
  534. labels: {
  535. format: '{value}',
  536. style: {
  537. color: Highcharts.getOptions().colors[0],
  538. fontSize: '1.5em'
  539. }
  540. },
  541. min: 0,
  542. max: 10000,
  543. title: {
  544. style: {
  545. color: Highcharts.getOptions().colors[0],
  546. fontSize: '1em'
  547. }
  548. }
  549. },
  550. ],
  551. tooltip: {
  552. shared: true
  553. },
  554. legend: {
  555. layout: 'vertical',
  556. align: 'right',
  557. x: -100,
  558. verticalAlign: 'top',
  559. y: 0,
  560. floating: true,
  561. backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF'
  562. },
  563. series: [{
  564. type: 'column',
  565. data: passdata,
  566. }, {
  567. type: 'column',
  568. data: faildata,
  569. },
  570. {
  571. type: 'column',
  572. data: stackdata,
  573. },]
  574. });
  575. FailChart = Highcharts.chart('graph-2', {
  576. chart: {
  577. height: (4 / 16 * 100) + '%' // 16:9 ratio
  578. },
  579. title: {
  580. text: '各产线今日不良率'
  581. },
  582. credits: {
  583. enabled: false // 禁用版权信息
  584. },
  585. exporting: {
  586. enabled: false
  587. },
  588. xAxis: [{
  589. crosshair: true,
  590. labels: {
  591. style: {
  592. fontSize: '1.5em'
  593. }
  594. }
  595. }],
  596. yAxis: [ { // Secondary yAxis
  597. title: {
  598. text: '不良率',
  599. style: {
  600. color: 'red',
  601. fontSize: '1em'
  602. }
  603. },
  604. min: 0,
  605. max: 1.5 * failmax,
  606. labels: {
  607. formatter: function () {
  608. return Math.floor(this.value) + "%";
  609. },
  610. style: {
  611. color: 'red',
  612. fontSize: '20px'
  613. }
  614. },
  615. }],
  616. tooltip: {
  617. shared: true
  618. },
  619. legend: {
  620. layout: 'vertical',
  621. align: 'right',
  622. x: -120,
  623. verticalAlign: 'top',
  624. y: 0,
  625. floating: true,
  626. backgroundColor: (Highcharts.theme && Highcharts.theme.legendBackgroundColor) || '#FFFFFF'
  627. },
  628. series: [{
  629. name: '不良率',
  630. type: 'spline',
  631. data: failrate,
  632. color: 'red',
  633. tooltip: {
  634. valueSuffix: '%'
  635. }
  636. }]
  637. });
  638. }
  639. function updateChart() {
  640. var stackdata = [];
  641. var passdata=[];
  642. var faildata=[];
  643. var failrate=[];
  644. for (i = 0; i < passNumber.length; i++) {
  645. passdata.push(passeverynum[i]);
  646. faildata.push(faileverynum[i]);
  647. stackdata.push(0);
  648. failrate.push(failrate[i])
  649. }
  650. // https://api.hcharts.cn/highcharts#Series.addPoint;
  651. stackAndFailChart.series[0].setData(passdata);
  652. stackAndFailChart.series[1].setData(faildata);
  653. stackAndFailChart.series[2].setData(stackdata);
  654. FailChart.series[0].setData(failrate);
  655. // showEachSpot();
  656. }
  657. var stackAndFailChart = null;
  658. var FailChart = null;
  659. $(document).ready(on_document_load);
  660. </script>
  661. </body>
  662. </html>