Skip to content

Commit

Permalink
Merge branch 'xdmod10.5' into readme-reference-paper
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronweeden authored Jul 13, 2023
2 parents 5bad2e9 + 055114e commit 90a09ee
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions html/gui/js/modules/job_viewer/AnalyticChartPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -191,24 +191,27 @@ XDMoD.Module.JobViewer.AnalyticChartPanel = Ext.extend(Ext.Panel, {
align: 'left',
xref: 'paper',
yref: 'paper',
sizex: 0.4,
sizey: 0.4,
sizex: 0.35,
sizey: 0.35,
x: 0,
y: 1.2
y: 1.05
}
];
this.chartOptions.images = errorImage;
var max = Math.floor(this.chartOptions.width / 7);
var wordMatch = new RegExp('(?![^\\n]{1,' + max + '}$)([^\\n]{1,' + max + '})\\s', 'g');
var errorText = [
{
text: '<b>' + errorStr + '</b>',
text: errorStr.replace(wordMatch, '$1<br />'),
align: 'left',
xref: 'paper',
yref: 'paper',
font: {
size: 11
size: 12,
family: 'Lucida Grande, Lucida Sans Unicode, Arial, Helvetica, sans-serif'
},
x: 0.05,
y: 1.2,
x: 0.08,
y: 1.1,
showarrow: false
}
];
Expand Down

0 comments on commit 90a09ee

Please sign in to comment.