fengxiang
2018-01-29 4a4c7f1db802b8e316c4c72ba59f69c3f8f8281c
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;
        });