diff --git a/src/api/static/js/dashboard.js b/src/api/static/js/dashboard.js index 8070446..e75b727 100644 --- a/src/api/static/js/dashboard.js +++ b/src/api/static/js/dashboard.js @@ -423,6 +423,8 @@ monitor.folders.render.summary = function (data) { } options.rowClick = function(args){ var item = args.item + var yu = jx.math.mean(jx.utils.vector('0', item.details.age)) + var yr = jx.math.sd(jx.utils.vector('0', item.details.age)) age = jx.utils.patterns.visitor(item.details.age, function (row) { return {y:row[0],x:row[1]} }) @@ -436,7 +438,7 @@ monitor.folders.render.summary = function (data) { options.autoload = true options.fields = [ { name: 'label', type: 'text', title: "Folder Name", headercss: "small bold", css: "small"}, - { name: "summary.age", type: "number", title: "Oldest File (Days)", headercss: "small bold" , width:'64px'}, + { name: "summary.age", type: "number", title: "Age (Days)", headercss: "small bold" , width:'64px'}, { name: "summary.size", type: "number", title: "Size (MB)", type: "number", headercss: "small bold" }, { name: "summary.count", type: "number", title: "File Count", type: "number", headercss: "small bold" } ] diff --git a/src/api/templates/dashboard.html b/src/api/templates/dashboard.html index 8e6a957..8dfbad8 100644 --- a/src/api/templates/dashboard.html +++ b/src/api/templates/dashboard.html @@ -19,7 +19,7 @@