fengxiang
2018-01-25 8570af7c6051c3d9a516f39d597ff49e1e1e2840
src/app/routes/dashboard/monitor/monitor.component.ts
@@ -26,8 +26,8 @@
            this.http.get('/chart/tags')
        ).subscribe(([ res, tags ]) => {
            this.data = res;
            tags.list[Math.floor(Math.random() * tags.list.length) + 1].value = 1000;
            this.tags = tags.list;
            tags['list'][Math.floor(Math.random() *  tags['list'].length) + 1].value = 1000;
            this.tags =  tags['list'];
            this.loading = false;
        });