From 7b8151a86d78dceb92fd165aa731ded2728ef48f Mon Sep 17 00:00:00 2001 From: Joe White Date: Mon, 8 Mar 2021 20:37:50 -0500 Subject: [PATCH] Add missing attributes when gearing over from Usage to Metric See https://app.asana.com/0/808093868887967/1184327725706337 --- html/gui/js/modules/Usage.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/html/gui/js/modules/Usage.js b/html/gui/js/modules/Usage.js index e7da86acdd..1e846a36d6 100644 --- a/html/gui/js/modules/Usage.js +++ b/html/gui/js/modules/Usage.js @@ -2173,6 +2173,7 @@ Ext.extend(XDMoD.Module.Usage, XDMoD.PortalModule, { id: Math.random(), metric: n.attributes.statistic, realm: n.attributes.realm, + category: n.attributes.category, group_by: n.attributes.group_by, x_axis: false, log_scale: chartToolbar.getLogScale() == 'y', @@ -2184,6 +2185,12 @@ Ext.extend(XDMoD.Module.Usage, XDMoD.PortalModule, { display_type: (dt == 'bar' || dt == 'h_bar' /*|| dt == 'pie'*/ || dt == 'auto') ? "column" : dt, combine_type: (ct == 'side' || ct == 'auto') ? "side" : ct == 'percentage' ? 'percent' : 'stack', sort_type: chartStore.getAt(0).get('sort_type'), + color: 'auto', + shadow: false, + visibility: null, + z_index: 0, + line_type: 'Solid', + line_width: 2, filters: { "data": [], "total": 0