@esfaenza/admin-module 20.3.6 → 20.3.7
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 { LineSerie, LineChartData, PieChartData, KeyValueColor, DateValue, Limit,
|
|
18
|
+
import { BaseInterval, 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,7 +715,10 @@ class NodeDetailComponent {
|
|
|
715
715
|
this.onClose = new EventEmitter();
|
|
716
716
|
}
|
|
717
717
|
ngOnInit() {
|
|
718
|
-
|
|
718
|
+
var interval = new BaseInterval();
|
|
719
|
+
interval.count = 5;
|
|
720
|
+
interval.timeunit = "second";
|
|
721
|
+
let serie = new LineSerie(this.lc.loc("Sessioni Attive"), this.NodeDetails.activesessions, interval);
|
|
719
722
|
this.NodeDetails.sessionchart = new LineChartData([serie]);
|
|
720
723
|
this.NodeDetails.loadchart = new PieChartData([
|
|
721
724
|
new KeyValueColor("CPU", this.NodeDetails.cpuperc),
|
|
@@ -998,7 +1001,10 @@ class AdmTopActivitiesComponent {
|
|
|
998
1001
|
let props = Object.keys(reference.actsessions[0]);
|
|
999
1002
|
for (let i = 0; i < props.length; i++) {
|
|
1000
1003
|
if (props[i] != 'sampletime') {
|
|
1001
|
-
|
|
1004
|
+
var interval = new BaseInterval();
|
|
1005
|
+
interval.count = 5;
|
|
1006
|
+
interval.timeunit = "second";
|
|
1007
|
+
let s = new LineSerie(this.propertiesSeriesMapping[props[i]], [], interval, null, "sessions");
|
|
1002
1008
|
series.push(s);
|
|
1003
1009
|
this.seriesPropertiesMapping[props[i]] = s;
|
|
1004
1010
|
}
|