Skip to content

Commit

Permalink
Merge pull request #1184 from ubccr/has_std_err
Browse files Browse the repository at this point in the history
Fix stderr checkbox disablement in Metric Explorer.
  • Loading branch information
jpwhite4 authored Dec 31, 2019
2 parents 4d54166 + 21b5929 commit 41be097
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion html/gui/js/modules/Usage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2174,7 +2174,7 @@ Ext.extend(XDMoD.Module.Usage, XDMoD.PortalModule, {
group_by: n.attributes.group_by,
x_axis: false,
log_scale: chartToolbar.getLogScale() == 'y',
has_std_err: 'y',
has_std_err: chartToolbar.getEnableErrors(),
std_err: chartToolbar.getShowErrorBars() == 'y',
std_err_labels: chartToolbar.getShowErrorLabels() == 'y',
value_labels: chartToolbar.getShowAggregateLabels() == 'y' || dt == 'pie',
Expand Down
2 changes: 2 additions & 0 deletions html/gui/js/modules/metric_explorer/MetricExplorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2829,6 +2829,7 @@ Ext.extend(XDMoD.Module.MetricExplorer, XDMoD.PortalModule, {
singleClickExpand: true,
type: 'metric',
text: realm_metrics[rm].text,
has_std_err: realm_metrics[rm].std_err,
iconCls: 'chart',
category: category,
realm: realm,
Expand Down Expand Up @@ -2861,6 +2862,7 @@ Ext.extend(XDMoD.Module.MetricExplorer, XDMoD.PortalModule, {
group_by: d,
metric: n.attributes.metric,
realm: n.attributes.realm,
has_std_err: n.attributes.has_std_err,
category: n.attributes.category
};
Ext.apply(config, this.defaultDatasetConfig);
Expand Down

0 comments on commit 41be097

Please sign in to comment.