From c19ccf5d690458a81526dac18e2e23db81a3e84a Mon Sep 17 00:00:00 2001 From: Newnius Date: Mon, 20 May 2019 15:34:35 +0800 Subject: [PATCH] update --- static/summary.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/static/summary.js b/static/summary.js index 12b0ff5..76d4367 100644 --- a/static/summary.js +++ b/static/summary.js @@ -107,6 +107,8 @@ function summary_render() { gpu_mem_total.push(item['gpu_mem_total']); gpu_mem_using.push(item['gpu_mem_total'] - item['gpu_mem_available']); timestamps.push(item['ts']); + + console.log(moment(item['ts'],'mm/dd/yyyy')); }); /* CPU Load */ @@ -162,7 +164,7 @@ function summary_render() { text: 'MEM Using' }, legend: { - display: true + display: false }, maintainAspectRatio: false }