| | |
| | | }] |
| | | } |
| | | |
| | | var chart = new ApexCharts( |
| | | document.querySelector("#polarArea-chart"), |
| | | polarAreaChart |
| | | ); |
| | | chart.render(); |
| | | var times = setInterval(leida, 10000); |
| | | //var chart = new ApexCharts( |
| | | // document.querySelector("#polarArea-chart"), |
| | | // polarAreaChart |
| | | //); |
| | | //chart.render(); |
| | | //var times = setInterval(leida, 10000); |
| | | function leida() { |
| | | $.ajax({ |
| | | url: "/hxzkoa/settongjishuju.do", |
| | |
| | | max: 1000 |
| | | }, |
| | | }; |
| | | var wasdChart = new ApexCharts(document.getElementById('wasd'), wasdOptions); |
| | | wasdChart.render(); |
| | | //var wasdChart = new ApexCharts(document.getElementById('wasd'), wasdOptions); |
| | | //wasdChart.render(); |
| | | |
| | | window.setInterval(function () { |
| | | wasdData.push(weizhi); |
| | | wasdChart.updateSeries([{ |
| | | data: wasdData |
| | | }]) |
| | | }, 10000) |
| | | //window.setInterval(function () { |
| | | // wasdData.push(weizhi); |
| | | // wasdChart.updateSeries([{ |
| | | // data: wasdData |
| | | // }]) |
| | | //}, 10000) |
| | | |
| | | |
| | | // Radial Chart |