@esfaenza/admin-module 20.3.7 → 20.3.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -15,7 +15,7 @@ import { AppSearch, EsTableOperationDefinition, EsTableModule } from '@esfaenza/
|
|
|
15
15
|
import * as i9 from '@esfaenza/forms-and-validations';
|
|
16
16
|
import { FormsAndValidationsModule } from '@esfaenza/forms-and-validations';
|
|
17
17
|
import * as i2 from '@esfaenza/es-charts';
|
|
18
|
-
import {
|
|
18
|
+
import { LineSerie, LineChartData, PieChartData, KeyValueColor, DateValue, Limit, EsChartsModule } from '@esfaenza/es-charts';
|
|
19
19
|
import { EsGertrudeModule } from '@esfaenza/gertrude';
|
|
20
20
|
import * as i1$1 from '@esfaenza/extensions';
|
|
21
21
|
import { MessageService, InboundMessageTypes, Export, ExportLocalization, ExtensionsModule } from '@esfaenza/extensions';
|
|
@@ -715,10 +715,7 @@ class NodeDetailComponent {
|
|
|
715
715
|
this.onClose = new EventEmitter();
|
|
716
716
|
}
|
|
717
717
|
ngOnInit() {
|
|
718
|
-
|
|
719
|
-
interval.count = 5;
|
|
720
|
-
interval.timeunit = "second";
|
|
721
|
-
let serie = new LineSerie(this.lc.loc("Sessioni Attive"), this.NodeDetails.activesessions, interval);
|
|
718
|
+
let serie = new LineSerie(this.lc.loc("Sessioni Attive"), this.NodeDetails.activesessions, null);
|
|
722
719
|
this.NodeDetails.sessionchart = new LineChartData([serie]);
|
|
723
720
|
this.NodeDetails.loadchart = new PieChartData([
|
|
724
721
|
new KeyValueColor("CPU", this.NodeDetails.cpuperc),
|
|
@@ -1001,10 +998,7 @@ class AdmTopActivitiesComponent {
|
|
|
1001
998
|
let props = Object.keys(reference.actsessions[0]);
|
|
1002
999
|
for (let i = 0; i < props.length; i++) {
|
|
1003
1000
|
if (props[i] != 'sampletime') {
|
|
1004
|
-
|
|
1005
|
-
interval.count = 5;
|
|
1006
|
-
interval.timeunit = "second";
|
|
1007
|
-
let s = new LineSerie(this.propertiesSeriesMapping[props[i]], [], interval, null, "sessions");
|
|
1001
|
+
let s = new LineSerie(this.propertiesSeriesMapping[props[i]], [], null, null, "sessions");
|
|
1008
1002
|
series.push(s);
|
|
1009
1003
|
this.seriesPropertiesMapping[props[i]] = s;
|
|
1010
1004
|
}
|
|
@@ -1074,10 +1068,7 @@ class AdmTopActivitiesComponent {
|
|
|
1074
1068
|
let props = Object.keys(sessDet.sessions[0]);
|
|
1075
1069
|
for (let i = 0; i < props.length; i++) {
|
|
1076
1070
|
if (props[i] != 'sampletime') {
|
|
1077
|
-
|
|
1078
|
-
interval.count = 5;
|
|
1079
|
-
interval.timeunit = "second";
|
|
1080
|
-
let s = new LineSerie(this.propertiesSeriesMapping[props[i]], [], interval, null, "sessions");
|
|
1071
|
+
let s = new LineSerie(this.propertiesSeriesMapping[props[i]], [], null, null, "sessions");
|
|
1081
1072
|
series.push(s);
|
|
1082
1073
|
this.seriesPropertiesMapping2[props[i]] = s;
|
|
1083
1074
|
}
|