Skip to content

Commit

Permalink
Add missing attributes when gearing over from Usage to Metric
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwhite4 committed Mar 9, 2021
1 parent 4b27cb1 commit 85dcf7a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions html/gui/js/modules/Usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand All @@ -2184,6 +2185,10 @@ 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,
filters: {
"data": [],
"total": 0
Expand Down

0 comments on commit 85dcf7a

Please # to comment.