Fixed solar time issue
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/admin/accounting-manager@133807 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
f702da96d7
commit
b7c366e5da
|
@ -533,7 +533,8 @@ public class JobChartBasicPanel extends SimpleContainer {
|
|||
// xAxis
|
||||
options.xAxis().type("datetime");
|
||||
options.xAxis().minRange(minRange);
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
ArrayNumber dataOperationCount = seriesOperationCount
|
||||
.dataAsArrayNumber();
|
||||
|
||||
|
@ -572,18 +573,18 @@ public class JobChartBasicPanel extends SimpleContainer {
|
|||
|
||||
if (accountingStateData.getSeriesRequest().getAccountingPeriod()
|
||||
.getPeriod().compareTo(AccountingPeriodMode.MONTHLY) == 0) {
|
||||
options.tooltip().xDateFormat("%b, %Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%b, %Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
if (accountingStateData.getSeriesRequest()
|
||||
.getAccountingPeriod().getPeriod()
|
||||
.compareTo(AccountingPeriodMode.YEARLY) == 0) {
|
||||
options.tooltip().xDateFormat("%Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -759,6 +760,7 @@ public class JobChartBasicPanel extends SimpleContainer {
|
|||
// xAxis
|
||||
options.xAxis().type("datetime");
|
||||
options.xAxis().minRange(minRange);
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
ArrayNumber dataOperationCount = seriesOperationCount
|
||||
.dataAsArrayNumber();
|
||||
|
@ -794,18 +796,18 @@ public class JobChartBasicPanel extends SimpleContainer {
|
|||
|
||||
if (accountingStateData.getSeriesRequest().getAccountingPeriod()
|
||||
.getPeriod().compareTo(AccountingPeriodMode.MONTHLY) == 0) {
|
||||
options.tooltip().xDateFormat("%b, %Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%b, %Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
if (accountingStateData.getSeriesRequest()
|
||||
.getAccountingPeriod().getPeriod()
|
||||
.compareTo(AccountingPeriodMode.YEARLY) == 0) {
|
||||
options.tooltip().xDateFormat("%Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -560,6 +560,7 @@ public class JobChartTopPanel extends SimpleContainer {
|
|||
// xAxis
|
||||
options.xAxis().type("datetime");
|
||||
options.xAxis().minRange(minRange);
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
int i = 0;
|
||||
for (; i < seriesJobTop.getSeriesJobDataTopList().size()
|
||||
|
@ -697,18 +698,18 @@ public class JobChartTopPanel extends SimpleContainer {
|
|||
|
||||
if (accountingStateData.getSeriesRequest().getAccountingPeriod()
|
||||
.getPeriod().compareTo(AccountingPeriodMode.MONTHLY) == 0) {
|
||||
options.tooltip().xDateFormat("%b, %Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%b, %Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
if (accountingStateData.getSeriesRequest()
|
||||
.getAccountingPeriod().getPeriod()
|
||||
.compareTo(AccountingPeriodMode.YEARLY) == 0) {
|
||||
options.tooltip().xDateFormat("%Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -927,7 +928,8 @@ public class JobChartTopPanel extends SimpleContainer {
|
|||
// xAxis
|
||||
options.xAxis().type("datetime");
|
||||
options.xAxis().minRange(minRange);
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
for (int i = 0; i < seriesJobTop.getSeriesJobDataTopList().size(); i++) {
|
||||
SeriesColumn seriesColumnData = highchartsFactory
|
||||
.createSeriesColumn();
|
||||
|
@ -975,18 +977,18 @@ public class JobChartTopPanel extends SimpleContainer {
|
|||
|
||||
if (accountingStateData.getSeriesRequest().getAccountingPeriod()
|
||||
.getPeriod().compareTo(AccountingPeriodMode.MONTHLY) == 0) {
|
||||
options.tooltip().xDateFormat("%b, %Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%b, %Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
if (accountingStateData.getSeriesRequest()
|
||||
.getAccountingPeriod().getPeriod()
|
||||
.compareTo(AccountingPeriodMode.YEARLY) == 0) {
|
||||
options.tooltip().xDateFormat("%Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -536,7 +536,8 @@ public class ServiceChartBasicPanel extends SimpleContainer {
|
|||
// xAxis
|
||||
options.xAxis().type("datetime");
|
||||
options.xAxis().minRange(minRange);
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
ArrayNumber dataOperationCount = seriesOperationCount
|
||||
.dataAsArrayNumber();
|
||||
|
||||
|
@ -577,18 +578,18 @@ public class ServiceChartBasicPanel extends SimpleContainer {
|
|||
|
||||
if (accountingStateData.getSeriesRequest().getAccountingPeriod()
|
||||
.getPeriod().compareTo(AccountingPeriodMode.MONTHLY) == 0) {
|
||||
options.tooltip().xDateFormat("%b, %Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%b, %Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
if (accountingStateData.getSeriesRequest()
|
||||
.getAccountingPeriod().getPeriod()
|
||||
.compareTo(AccountingPeriodMode.YEARLY) == 0) {
|
||||
options.tooltip().xDateFormat("%Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -767,6 +768,7 @@ public class ServiceChartBasicPanel extends SimpleContainer {
|
|||
// xAxis
|
||||
options.xAxis().type("datetime");
|
||||
options.xAxis().minRange(minRange);
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
ArrayNumber dataOperationCount = seriesOperationCount
|
||||
.dataAsArrayNumber();
|
||||
|
@ -808,18 +810,18 @@ public class ServiceChartBasicPanel extends SimpleContainer {
|
|||
|
||||
if (accountingStateData.getSeriesRequest().getAccountingPeriod()
|
||||
.getPeriod().compareTo(AccountingPeriodMode.MONTHLY) == 0) {
|
||||
options.tooltip().xDateFormat("%b, %Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%b, %Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
if (accountingStateData.getSeriesRequest()
|
||||
.getAccountingPeriod().getPeriod()
|
||||
.compareTo(AccountingPeriodMode.YEARLY) == 0) {
|
||||
options.tooltip().xDateFormat("%Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -563,7 +563,8 @@ public class ServiceChartTopPanel extends SimpleContainer {
|
|||
// xAxis
|
||||
options.xAxis().type("datetime");
|
||||
options.xAxis().minRange(minRange);
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
int i = 0;
|
||||
for (; i < seriesServiceTop.getSeriesServiceDataTopList().size()
|
||||
&& i < seriesServiceTop.getTopNumber(); i++) {
|
||||
|
@ -704,18 +705,18 @@ public class ServiceChartTopPanel extends SimpleContainer {
|
|||
|
||||
if (accountingStateData.getSeriesRequest().getAccountingPeriod()
|
||||
.getPeriod().compareTo(AccountingPeriodMode.MONTHLY) == 0) {
|
||||
options.tooltip().xDateFormat("%b, %Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
|
||||
//options.tooltip().xDateFormat("%b, %Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
if (accountingStateData.getSeriesRequest()
|
||||
.getAccountingPeriod().getPeriod()
|
||||
.compareTo(AccountingPeriodMode.YEARLY) == 0) {
|
||||
options.tooltip().xDateFormat("%Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -942,6 +943,7 @@ public class ServiceChartTopPanel extends SimpleContainer {
|
|||
// xAxis
|
||||
options.xAxis().type("datetime");
|
||||
options.xAxis().minRange(minRange);
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
for (int i = 0; i < seriesServiceTop.getSeriesServiceDataTopList()
|
||||
.size(); i++) {
|
||||
|
@ -992,18 +994,18 @@ public class ServiceChartTopPanel extends SimpleContainer {
|
|||
|
||||
if (accountingStateData.getSeriesRequest().getAccountingPeriod()
|
||||
.getPeriod().compareTo(AccountingPeriodMode.MONTHLY) == 0) {
|
||||
options.tooltip().xDateFormat("%b, %Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%b, %Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
if (accountingStateData.getSeriesRequest()
|
||||
.getAccountingPeriod().getPeriod()
|
||||
.compareTo(AccountingPeriodMode.YEARLY) == 0) {
|
||||
options.tooltip().xDateFormat("%Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -488,6 +488,7 @@ public class StorageChartBasicPanel extends SimpleContainer {
|
|||
// xAxis
|
||||
options.xAxis().type("datetime");
|
||||
options.xAxis().minRange(minRange);
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
ArrayNumber dataOperationCount = seriesOperationCount
|
||||
.dataAsArrayNumber();
|
||||
|
@ -513,18 +514,18 @@ public class StorageChartBasicPanel extends SimpleContainer {
|
|||
|
||||
if (accountingStateData.getSeriesRequest().getAccountingPeriod()
|
||||
.getPeriod().compareTo(AccountingPeriodMode.MONTHLY) == 0) {
|
||||
options.tooltip().xDateFormat("%b, %Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%b, %Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
|
||||
} else {
|
||||
if (accountingStateData.getSeriesRequest()
|
||||
.getAccountingPeriod().getPeriod()
|
||||
.compareTo(AccountingPeriodMode.YEARLY) == 0) {
|
||||
options.tooltip().xDateFormat("%Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
|
||||
//options.tooltip().xDateFormat("%Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
} else {
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -539,7 +539,8 @@ public class StorageChartTopPanel extends SimpleContainer {
|
|||
// xAxis
|
||||
options.xAxis().type("datetime");
|
||||
options.xAxis().minRange(minRange);
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
int i = 0;
|
||||
for (; i < seriesStorageTop.getSeriesStorageDataTopList().size()
|
||||
&& i < seriesStorageTop.getTopNumber(); i++) {
|
||||
|
@ -654,18 +655,18 @@ public class StorageChartTopPanel extends SimpleContainer {
|
|||
|
||||
if (accountingStateData.getSeriesRequest().getAccountingPeriod()
|
||||
.getPeriod().compareTo(AccountingPeriodMode.MONTHLY) == 0) {
|
||||
options.tooltip().xDateFormat("%b, %Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%b, %Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
if (accountingStateData.getSeriesRequest()
|
||||
.getAccountingPeriod().getPeriod()
|
||||
.compareTo(AccountingPeriodMode.YEARLY) == 0) {
|
||||
options.tooltip().xDateFormat("%Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -848,7 +849,8 @@ public class StorageChartTopPanel extends SimpleContainer {
|
|||
// xAxis
|
||||
options.xAxis().type("datetime");
|
||||
options.xAxis().minRange(minRange);
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
for (int i = 0; i < seriesStorageTop.getSeriesStorageDataTopList()
|
||||
.size(); i++) {
|
||||
SeriesColumn seriesColumnData = highchartsFactory
|
||||
|
@ -892,18 +894,18 @@ public class StorageChartTopPanel extends SimpleContainer {
|
|||
|
||||
if (accountingStateData.getSeriesRequest().getAccountingPeriod()
|
||||
.getPeriod().compareTo(AccountingPeriodMode.MONTHLY) == 0) {
|
||||
options.tooltip().xDateFormat("%b, %Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%b, %Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
if (accountingStateData.getSeriesRequest()
|
||||
.getAccountingPeriod().getPeriod()
|
||||
.compareTo(AccountingPeriodMode.YEARLY) == 0) {
|
||||
options.tooltip().xDateFormat("%Y");
|
||||
// options.tooltip().xDateFormat("");
|
||||
//options.tooltip().xDateFormat("%Y");
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
|
||||
} else {
|
||||
|
||||
options.tooltip().xDateFormat("Selected Data");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue