效果图 :
JS 代码 :
$ (function () {$ (document) .ready (function () {HighCharts.SetOptions ({global: {useutc: false}}); {}}}. plotLines: [{ value: 0, width: 1, color: '#808080' }] }], tooltip: { formatter: function() { return '<b>' + this.series.name + '</b><br/>' + Highcharts.dateFormat('%Y-%m-%d %H:%M:%S', this.x) + '<br/>' + Highcharts.numberFormat (this.y, 2); Data.push ({x: Zeit+i * 1000, y: math.random ()}); x: Zeit + i * 1000, math.random ()}); Serie.html 代码 :
<Head> <script type = "text/javaScript" src = "js/jquery.min.js"> </script> <script type = "text/javaScript" src = "js/HighcharTs.js"> </script> <script type = "text/javaScript" src = "js/exporting.js" </script> </head> <body> <div id = "container" style = "min-Width: 700px; Höhe: 400px"> </div> </body>
以上这篇 Highcharts 多个 y 轴动态刷新数据的实现代码 就是小编分享给大家的全部内容了 , 希望能给大家一个参考 , 也希望大家多多支持武林网。 也希望大家多多支持武林网。