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:
phamt 2013-07-13 14:10:26 +00:00
parent b3b29d3c76
commit c025c72802

View File

@ -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,