Enlarged division width of bar chart so it could accommodate more data.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
b3b29d3c76
commit
c025c72802
@ -3486,7 +3486,7 @@ function loadDiskPoolTable(data) {
|
||||
// Create bar chart, only when there is data
|
||||
var plot;
|
||||
var panelId = hcp + 'Disks';
|
||||
$('#' + panelId).prepend($('<div id="' + hcp + 'DiskChart" style="height:300px; width:500px; margin-left:auto; margin-right:auto;"></div>'));
|
||||
$('#' + panelId).prepend($('<div id="' + hcp + 'DiskChart" style="height:300px; width:600px; margin-left:auto; margin-right:auto;"></div>'));
|
||||
plot = $.jqplot(hcp + 'DiskChart', [used, free], {
|
||||
title: '',
|
||||
stackSeries: true,
|
||||
@ -3720,7 +3720,7 @@ function loadZfcpPoolTable(data) {
|
||||
|
||||
// Create bar chart, only when there is data
|
||||
if ((used.length || free.length) && ticks.length) {
|
||||
$('#' + panelId).prepend($('<div id="' + hcp + 'ZfcpChart" style="height:300px; width:500px; margin-left:auto; margin-right:auto;"></div>'));
|
||||
$('#' + panelId).prepend($('<div id="' + hcp + 'ZfcpChart" style="height:300px; width:600px; margin-left:auto; margin-right:auto;"></div>'));
|
||||
var plot = $.jqplot(hcp + 'ZfcpChart', [used, free], {
|
||||
title: '',
|
||||
stackSeries: true,
|
||||
|
Loading…
Reference in New Issue
Block a user