实时数据
This commit is contained in:
parent
71f0e95b84
commit
24940b5594
|
@ -219,7 +219,7 @@ export default {
|
|||
28654,
|
||||
28537,
|
||||
],
|
||||
data3: [8002323, 10002304, 12938683.5],
|
||||
data3: [80002, 82024, 85383.5],
|
||||
data4: [10869, 11108, 12109],
|
||||
num: 4149861,
|
||||
redu: 31904,
|
||||
|
@ -336,7 +336,7 @@ export default {
|
|||
if (this.data3.length >= 60) {
|
||||
this.data3.shift();
|
||||
}
|
||||
this.data3.push(Math.floor(Math.random() * (5000 - 2000 + 1)) + 2000 + this.data3[this.data3.length - 1]);
|
||||
this.data3.push(Math.floor(Math.random() * (5000 - 3000 + 1)) + this.data3[this.data3.length - 1]);
|
||||
this.chartInstance3.setOption({
|
||||
xAxis: {
|
||||
data: this.data3.map((item, index) => {
|
||||
|
|
Loading…
Reference in New Issue